Version:

    Show / Hide Table of Contents

    Class UtilityMethods

    Inheritance
    System.Object
    UtilityMethods
    Namespace: SMT.MastaAPI
    Assembly: SMT.MastaAPI.14.1.dll
    Syntax
    public static class UtilityMethods

    Methods

    InitialiseApiAccess(String)

    Declaration
    public static void InitialiseApiAccess(string installationDirectory)
    Parameters
    Type Name Description
    System.String installationDirectory

    InitialiseDotNetProgramAccess()

    Declaration
    public static void InitialiseDotNetProgramAccess()

    IsMethodReadOnly<T>(T, Expression<Func<T, Action>>)

    Declaration
    public static bool IsMethodReadOnly<T>(this T entity, Expression<Func<T, Action>> method)
    
        where T : APIBase
    Parameters
    Type Name Description
    T entity
    System.Linq.Expressions.Expression<System.Func<T, System.Action>> method
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    IsMethodValid<T>(T, Expression<Func<T, Action>>)

    Declaration
    public static bool IsMethodValid<T>(this T entity, Expression<Func<T, Action>> method)
    
        where T : APIBase
    Parameters
    Type Name Description
    T entity
    System.Linq.Expressions.Expression<System.Func<T, System.Action>> method
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    IsReadOnly<T>(T, Expression<Func<T, Object>>)

    Declaration
    public static bool IsReadOnly<T>(this T entity, Expression<Func<T, object>> property)
    
        where T : APIBase
    Parameters
    Type Name Description
    T entity
    System.Linq.Expressions.Expression<System.Func<T, System.Object>> property
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    IsValid<T>(T, Expression<Func<T, Object>>)

    Declaration
    public static bool IsValid<T>(this T entity, Expression<Func<T, object>> property)
    
        where T : APIBase
    Parameters
    Type Name Description
    T entity
    System.Linq.Expressions.Expression<System.Func<T, System.Object>> property
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T
    Back to top