Class TypeExtensions
Class TypeExtensions.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public static class TypeExtensions
Methods
| Improve this Doc View SourceImplements(Type, Type)
Returns true if typeof(object[]).Implements(typeof(IEnumerable)) --> truetype
implements/inherits moreGeneralType
.
Declaration
public static bool Implements(this Type type, Type moreGeneralType)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type. |
Type | moreGeneralType | Type of the more general. |
Returns
Type | Description |
---|---|
Boolean |
|
Implements<T>(Type)
Returns true if typeof(object[]).Implements<IEnumerable>() --> truetype
implements/inherits T
.
Declaration
public static bool Implements<T>(this Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type. |
Returns
Type | Description |
---|---|
Boolean |
|
Type Parameters
Name | Description |
---|---|
T | TBD |