Click or drag to resize

GuardIsAssignableToTAssigner Method

[This is preliminary documentation and is subject to change.]

Checks if type inherits from TAssigner

Namespace:  CSInfrastructure.CodeContracts
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static Type IsAssignableTo<TAssigner>(
	Type type,
	string paramName
)

Parameters

type
Type: SystemType
The type from which TAssigner should inherit
paramName
Type: SystemString
The name of the parameter being checked

Type Parameters

TAssigner
The type to check

Return Value

Type: Type
The type being checked
Exceptions
ExceptionCondition
ArgumentExceptionThrown when type does not inherit from TAssigner
See Also