Initializes the class with the objects in the parameterlist.
Note that each object that is null must be followed by a type.
Namespace:
HttpServer.Rendering
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public TemplateArguments(
params Object[] arguments
) |
Visual Basic (Declaration) |
---|
Public Sub New ( _
ParamArray arguments As Object() _
) |
Visual C++ |
---|
public:
TemplateArguments(
... array<Object^>^ arguments
) |
Parameters
- arguments
- Type: array<
System..::.Object
>[]()[]
Should contain ordered pairs/truples of string, object and type where type is optional if the object isn´t null
Examples
new TemplateArguments("Dir", "\", "Users", null, typeof(User));
Exceptions
See Also