Interface IDynamicLinqCustomTypeProvider
Interface for providing functionality to find custom types for or resolve any type.
Namespace: System.Linq.Dynamic.Core.CustomTypeProviders
Assembly: System.Linq.Dynamic.Core.dll
Syntax
public interface IDynamicLinqCustomTypeProvider
Methods
| Improve this Doc View SourceGetCustomTypes()
Returns a list of custom types that System.Linq.Dynamic.Core will understand.
Declaration
HashSet<Type> GetCustomTypes()
Returns
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.Type> | A System.Collections.Generic.HashSet<T> list of custom types. |
GetExtensionMethods()
Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand.
Declaration
Dictionary<Type, List<MethodInfo>> GetExtensionMethods()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Type, System.Collections.Generic.List<System.Reflection.MethodInfo>> | A list of custom extension methods that System.Linq.Dynamic.Core will understand. |
ResolveType(String)
Resolve any type by fullname which is registered in the current application domain.
Declaration
Type ResolveType(string typeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | The typename to resolve. |
Returns
Type | Description |
---|---|
System.Type | A resolved System.Type or null when not found. |
ResolveTypeBySimpleName(String)
Resolve any type by the simple name which is registered in the current application domain.
Declaration
Type ResolveTypeBySimpleName(string simpleTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | simpleTypeName | The typename to resolve. |
Returns
Type | Description |
---|---|
System.Type | A resolved System.Type or null when not found. |