Guard.TypeArgumentIs(Type, Type, String) Method
Ensures that an argument has a specific type.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
expectedType | Type | A Type object representing the expected type of the argument. |
passedType | Type | A Type object representing the actual type of the argument. |
argumentName | String | A string holding the name of the argument to check. |
Remarks
If the specified argument has a different type, an exception is thrown.
See Also