Class DefaultModelTypeResolver
A default model type resolver.
Inheritance
System.Object
DefaultModelTypeResolver
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Model
Assembly: Kephas.Core.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultModelTypeResolver : IModelTypeResolver
Methods
| Improve this Doc View SourceResolveModelType(ITypeInfo, IContext, Boolean)
Resolves the model type.
Declaration
public ITypeInfo ResolveModelType(ITypeInfo rawType, IContext context = null, bool throwOnNotFound = true)
Parameters
| Type | Name | Description |
|---|---|---|
| ITypeInfo | rawType | The raw type. |
| IContext | context | Optional. A context for the resolution. |
| System.Boolean | throwOnNotFound | Optional. Indicates whether to throw or not when the indicated type is not found. |
Returns
| Type | Description |
|---|---|
| ITypeInfo | The resolved model type or |