Search Results for

    Show / Hide Table of Contents

    Class TypeResolutionHelper

    Helper class for type resolution.

    Inheritance
    System.Object
    TypeResolutionHelper
    Namespace: Microsoft.Psi
    Assembly: Microsoft.Psi.dll
    Syntax
    public static class TypeResolutionHelper : object

    Methods

    View Source

    GetVerifiedType(String, IReadOnlyDictionary<String, String>)

    Gets a type by its type name. This method will only return types from loaded assemblies, i.e. assemblies explicitly referenced or loaded by this application.

    Declaration
    public static Type GetVerifiedType(string typeName, IReadOnlyDictionary<string, string> typeMapping = null)
    Parameters
    Type Name Description
    System.String typeName

    The name of the type to retrieve.

    IReadOnlyDictionary<System.String, System.String> typeMapping

    An optional type mapping to use when retrieving the type by name, in case the type is not found and names or assemblies have changed.

    Returns
    Type Description
    Type

    The requested type, or null if the type was not found.

    • View Source
    In This Article
    • Methods
      • GetVerifiedType(String, IReadOnlyDictionary<String, String>)
    Back to top Privacy & Cookies | Terms Of Use | Trademarks | © Microsoft
    Generated by DocFX