Class TypeExtensions
Static class containing Type static helper and extension methods
Inheritance
System.Object
TypeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ladybug
Assembly: ladybug.dll
Syntax
public static class TypeExtensions
Methods
| Improve this Doc View SourceTryLocateType(String, out Type, String[])
Attempts to locate a Type by name
Declaration
public static bool TryLocateType(string typeName, out Type type, string[] assemblies = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | Name of type to locate |
System.Type | type | Matching type, if found |
System.String[] | assemblies | Assemblies to search for Type in |
Returns
Type | Description |
---|---|
System.Boolean | True if matching Type found, otherwise False |