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 SourceResolveType(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. |