Show / Hide Table of Contents

Interface ITypeResolver

Service for resolving types from type names.

Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface ITypeResolver

Methods

| Improve this Doc View Source

ResolveType(String, Boolean)

Resolves a type based on the provided type name.

Declaration
Type ResolveType(string typeName, bool throwOnNotFound = true)
Parameters
Type Name Description
System.String typeName

Name of the type.

System.Boolean throwOnNotFound

Indicates whether to throw or not when the indicated type is not found.

Returns
Type Description
System.Type

A Type.

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