Show / Hide Table of Contents

Interface IModelTypeResolver

Interface for model type resolver.

Namespace: Kephas.Model
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IModelTypeResolver

Methods

| Improve this Doc View Source

ResolveModelType(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 null, if throwOnNotFound is set to false and a model type could not be found.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX