Class RuntimeTypeInfoExtensions
Extension methods for IRuntimeTypeInfo.
Inheritance
Inherited Members
Namespace: Kephas.Model.Reflection
Assembly: Kephas.Model.dll
Syntax
public static class RuntimeTypeInfoExtensions
Methods
| Improve this Doc View SourceGetClassifierKind(IRuntimeTypeInfo)
Gets the classifier kind for a IRuntimeTypeInfo.
Declaration
public static Type GetClassifierKind(this IRuntimeTypeInfo runtimeTypeInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| IRuntimeTypeInfo | runtimeTypeInfo | The runtimeTypeInfo to act on. |
Returns
| Type | Description |
|---|---|
| System.Type | The classifier kind. |
IsExcludedFromModel(IAttributeProvider)
Gets a value indicating whether the type is excluded from model.
Declaration
public static bool IsExcludedFromModel(this IAttributeProvider memberInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| IAttributeProvider | memberInfo | The member to act on. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the type is excluded from model, false if not. |
IsExcludedFromModel(MemberInfo)
Gets a value indicating whether the type or member is excluded from model.
Declaration
public static bool IsExcludedFromModel(this MemberInfo memberInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.MemberInfo | memberInfo | The member to act on. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the type or member is excluded from model, false if not. |
IsExcludedFromModel(TypeInfo)
Gets a value indicating whether the type is excluded from model.
Declaration
public static bool IsExcludedFromModel(this TypeInfo typeInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.TypeInfo | typeInfo | The type to act on. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the type is excluded from model, false if not. |
IsExcludedFromModel(Type)
Gets a value indicating whether the type is excluded from model.
Declaration
public static bool IsExcludedFromModel(this Type typeInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | typeInfo | The type to act on. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the type is excluded from model, false if not. |
IsModelType(IRuntimeTypeInfo)
Gets a value indicating whether the runtimeTypeInfo is a model type.
Declaration
public static bool IsModelType(this IRuntimeTypeInfo runtimeTypeInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| IRuntimeTypeInfo | runtimeTypeInfo | The runtimeTypeInfo to act on. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|