Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities.Editor |
public static class AssemblyUtilities
public static ImmutableList<Assembly> GetAllAssemblies()
ImmutableList<System.Reflection.Assembly> | An ImmutableList of all assemblies in the current System.AppDomain. |
public static string GetAssemblyDirectory(this Assembly assembly)
System.Reflection.Assembly | assembly | The assembly. |
System.String | The full file path to a given assembly, or |
System.NullReferenceException |
|
public static string GetAssemblyFilePath(this Assembly assembly)
System.Reflection.Assembly | assembly | The assembly. |
System.String | The full directory path in which a given assembly is located, or |
public static AssemblyTypeFlags GetAssemblyTypeFlag(this Assembly assembly)
System.Reflection.Assembly | assembly | The assembly. |
AssemblyTypeFlags | The AssemblyTypeFlags for a given assembly. |
System.NullReferenceException |
|
public static Type GetTypeByCachedFullName(string fullName)
System.String | fullName | The full name of the type without any assembly information. |
System.Type |
public static IEnumerable<Type> GetTypes(AssemblyTypeFlags assemblyTypeFlags)
AssemblyTypeFlags | assemblyTypeFlags | The AssemblyTypeFlags filters. |
System.Collections.Generic.IEnumerable<System.Type> | Types from the current AppDomain with the specified AssemblyTypeFlags filters. |
public static bool IsDependentOn(this Assembly assembly, Assembly otherAssembly)
System.Reflection.Assembly | assembly | The assembly. |
System.Reflection.Assembly | otherAssembly | The other assembly. |
System.Boolean |
|
System.NullReferenceException |
|
System.NullReferenceException |
|
public static bool IsDynamic(this Assembly assembly)
System.Reflection.Assembly | assembly | The assembly. |
System.Boolean |
|
System.ArgumentNullException | assembly |