Class TypeTraits
Helper class to avoid paying the cost of runtime type lookups.
Inherited Members
Namespace: Unity.Properties
Syntax
public static class TypeTraits
Methods
IsContainer(Type)
Returns
Declaration
public static bool IsContainer(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type to test. |
Returns
Type | Description |
---|---|
Boolean |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The given type is null. |