Class TypeExtensions
Class TypeExtensions.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public static class TypeExtensions
Methods
| Edit this page 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 |
|---|---|
| bool |
|
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 |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | TBD |
Edit this page