November Happy Hour will be moved to Thursday December 5th.

Class AssemblyUtil

Summary description for AssemblyHelper.

Inheritance
System.Object
AssemblyUtil
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: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
Syntax
public static class AssemblyUtil

Properties

AssembliesPath

Gets the assemblies path.

Declaration
public static string AssembliesPath { get; }
Property Value
Type Description
System.String

Methods

GetTypeString(String, String)

Gets the type string.

Declaration
public static string GetTypeString(string typeFullName, string typeAssemblyName)
Parameters
Type Name Description
System.String typeFullName

Full name of the type.

System.String typeAssemblyName

Name of the type assembly.

Returns
Type Description
System.String

GetTypeString(Type)

Gets the type string.

Declaration
public static string GetTypeString(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.String

GetValueFromString(Type, String)

Gets the value from string.

Declaration
public static object GetValueFromString(Type fieldType, string value)
Parameters
Type Name Description
System.Type fieldType

Type of the field.

System.String value

The value.

Returns
Type Description
System.Object

LoadObject(String)

Loads the object.

Declaration
public static object LoadObject(string type)
Parameters
Type Name Description
System.String type

The type.

Returns
Type Description
System.Object

LoadObject(String, String)

Loads the object.

Declaration
public static object LoadObject(string type, string interfaceName)
Parameters
Type Name Description
System.String type

The type.

System.String interfaceName

Name of the interface.

Returns
Type Description
System.Object

LoadObject(String, Type)

Loads the object.

Declaration
public static object LoadObject(string type, Type interfaceType)
Parameters
Type Name Description
System.String type

The type.

System.Type interfaceType

Type of the interface.

Returns
Type Description
System.Object

LoadObject<T>(String)

Loads the object.

Declaration
public static T LoadObject<T>(string type)
Parameters
Type Name Description
System.String type

The type.

Returns
Type Description
T
Type Parameters
Name Description
T

LoadRecursive(String, Type)

Loads the recursive.

Declaration
public static object[] LoadRecursive(string path, Type interfaceType)
Parameters
Type Name Description
System.String path

The path.

System.Type interfaceType

Type of the interface.

Returns
Type Description
System.Object[]

LoadRecursive(String, Type, Boolean)

Loads the recursive.

Declaration
public static object[] LoadRecursive(string path, Type interfaceType, bool deep)
Parameters
Type Name Description
System.String path

The path.

System.Type interfaceType

Type of the interface.

System.Boolean deep

if set to true [deep].

Returns
Type Description
System.Object[]

LoadType(String)

Loads the type.

Declaration
public static Type LoadType(string type)
Parameters
Type Name Description
System.String type

The type.

Returns
Type Description
System.Type