Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class ReflectionTypeUtil

    Inheritance
    object
    ReflectionTypeUtil
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Core.Utilities
    Assembly: Innovt.Core.dll
    Syntax
    public static class ReflectionTypeUtil

    Methods

    | Edit this page View Source

    CreateInstance(Type)

    Declaration
    public static Func<object> CreateInstance(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Func<object>
    | Edit this page View Source

    CreateInstance(Type, params object[])

    Declaration
    public static Func<object> CreateInstance(Type type, params object[] args)
    Parameters
    Type Name Description
    Type type
    object[] args
    Returns
    Type Description
    Func<object>
    | Edit this page View Source

    CreateInstance<T>()

    Perform a cache of the compiled expression to create instances of T

    Declaration
    public static Func<T> CreateInstance<T>() where T : class
    Returns
    Type Description
    Func<T>
    Type Parameters
    Name Description
    T
    Exceptions
    Type Condition
    InvalidOperationException
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX