C# Class NVelocity.Tool.ToolLoader

A view tool that allows template designers to load an arbitrary object into the context. Any object with a public constructor without parameters can be used as a view tool.

THIS CLASS IS HERE AS A PROOF OF CONCEPT ONLY. IT IS NOT INTENDED FOR USE IN PRODUCTION ENVIRONMENTS. USE AT YOUR OWN RISK.

显示文件 Open project: rasmus-toftdahl-olesen/NVelocity

Public Methods

Method Description
Load ( String className ) : Object

Creates and returns an object of the specified classname. The object must have a valid default constructor.

Method Details

Load() public method

Creates and returns an object of the specified classname. The object must have a valid default constructor.
public Load ( String className ) : Object
className String the fully qualified class name of the object
return Object