Interface IModelTypeResolver
Interface for model type resolver.
Namespace: Kephas.Model
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IModelTypeResolver
Methods
| Improve this Doc View SourceResolveModelType(ITypeInfo, IContext, Boolean)
Resolves the model type.
Declaration
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 |