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 AssemblyCategory GetAssemblyCategory(Assembly assembly)
System.Reflection.Assembly | assembly |
AssemblyCategory |
public static string GetAssemblyDirectory(this Assembly assembly)
System.Reflection.Assembly | assembly | The assembly. |
System.String | The full file path to a given assembly's containing directory, 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 Type GetTypeByCachedFullName(string name)
System.String | name |
System.Type |
public static IEnumerable<Type> GetTypes(AssemblyCategory assemblyFlags)
AssemblyCategory | assemblyFlags | The AssemblyCategory filters. |
System.Collections.Generic.IEnumerable<System.Type> | Types from the current AppDomain with the specified AssemblyCategory 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 |