ArgumentContainer Constructor (String, Object, Type)

HttpServer.dll

Alternative constructor allowing argumentObject parameter to be null

Namespace:  HttpServer.Rendering
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public ArgumentContainer(
	string argumentName,
	Object argumentObject,
	Type argumentType
)
Visual Basic (Declaration)
Public Sub New ( _
	argumentName As String, _
	argumentObject As Object, _
	argumentType As Type _
)
Visual C++
public:
ArgumentContainer(
	String^ argumentName, 
	Object^ argumentObject, 
	Type^ argumentType
)

Parameters

argumentName
Type: System..::.String
Cannot be null
argumentObject
Type: System..::.Object

[Missing <param name="argumentObject"/> documentation for "M:HttpServer.Rendering.ArgumentContainer.#ctor(System.String,System.Object,System.Type)"]

argumentType
Type: System..::.Type
Cannot be null

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionIf argumentName or argumentType is null
System..::.ArgumentExceptionIf argumentObject != null and argumentType != typeof(argumentObject)

See Also