Search Results for

    Show / Hide Table of Contents

    Class AbstractDynamicLinqCustomTypeProvider

    The abstract DynamicLinqCustomTypeProvider which is used by the DefaultDynamicLinqCustomTypeProvider and can be used by a custom TypeProvider like in .NET Core.

    Inheritance
    System.Object
    AbstractDynamicLinqCustomTypeProvider
    DefaultDynamicLinqCustomTypeProvider
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: System.Linq.Dynamic.Core.CustomTypeProviders
    Assembly: System.Linq.Dynamic.Core.dll
    Syntax
    public abstract class AbstractDynamicLinqCustomTypeProvider

    Methods

    | Improve this Doc View Source

    FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly>)

    Finds the unique types marked with DynamicLinqTypeAttribute.

    Declaration
    protected IEnumerable<Type> FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly> assemblies)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

    The assemblies to process.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Type>

    System.Collections.Generic.IEnumerable<T>

    | Improve this Doc View Source

    GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly>)

    Gets the assembly types annotated with DynamicLinqTypeAttribute in an Exception friendly way.

    Declaration
    protected Type[] GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly> assemblies)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

    The assemblies to process.

    Returns
    Type Description
    System.Type[]

    Array of System.Type

    | Improve this Doc View Source

    ResolveType(IEnumerable<Assembly>, String)

    Resolve any type which is registered in the current application domain.

    Declaration
    protected Type ResolveType(IEnumerable<Assembly> assemblies, string typeName)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

    The assemblies to inspect.

    System.String typeName

    The typename to resolve.

    Returns
    Type Description
    System.Type

    A resolved System.Type or null when not found.

    | Improve this Doc View Source

    ResolveTypeBySimpleName(IEnumerable<Assembly>, String)

    Resolve a type by the simple name which is registered in the current application domain.

    Declaration
    protected Type ResolveTypeBySimpleName(IEnumerable<Assembly> assemblies, string simpleTypeName)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

    The assemblies to inspect.

    System.String simpleTypeName

    The simple typename to resolve.

    Returns
    Type Description
    System.Type

    A resolved System.Type or null when not found.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX