C# Class UnityEditor.CodeStrippingUtils

Exibir arquivo Open project: randomize/VimConfig Class Usage Examples

Public Properties

Property Type Description
NativeClassBlackList string[]

Public Methods

Method Description
GenerateDependencies ( string strippedAssemblyDir, RuntimeClassRegistry rcr, HashSet &nativeClasses, HashSet &nativeModules ) : void
GetNativeModulesToRegister ( HashSet nativeClasses ) : HashSet
WriteModuleAndClassRegistrationFile ( string strippedAssemblyDir, string outputDir, RuntimeClassRegistry rcr, IEnumerable classesToSkip ) : void

Private Methods

Method Description
CollectManagedTypeReferencesFromRoots ( string directory, string rootAssemblies ) : HashSet
CollectNativeClassListFromRoots ( string directory, string rootAssemblies ) : HashSet
ExcludeModuleManagers ( HashSet &nativeClasses ) : void
GenerateNativeClassList ( RuntimeClassRegistry rcr, string directory, string rootAssemblies ) : HashSet
GetAllStrippableModules ( ) : HashSet
GetAssembliesInDirectory ( string strippedAssemblyDir, string assemblyName ) : IEnumerable
GetClassNames ( IEnumerable classIds ) : HashSet
GetRequiredStrippableModules ( HashSet nativeClasses ) : HashSet
GetUserAssemblies ( string strippedAssemblyDir ) : string[]
WriteModuleAndClassRegistrationFile ( string file, HashSet nativeModules, HashSet nativeClasses, HashSet classesToSkip ) : void
WriteStaticallyLinkedModuleRegistration ( TextWriter w, HashSet nativeModules, HashSet nativeClasses ) : void

Method Details

GenerateDependencies() public static method

public static GenerateDependencies ( string strippedAssemblyDir, RuntimeClassRegistry rcr, HashSet &nativeClasses, HashSet &nativeModules ) : void
strippedAssemblyDir string
rcr RuntimeClassRegistry
nativeClasses HashSet
nativeModules HashSet
return void

GetNativeModulesToRegister() public static method

public static GetNativeModulesToRegister ( HashSet nativeClasses ) : HashSet
nativeClasses HashSet
return HashSet

WriteModuleAndClassRegistrationFile() public static method

public static WriteModuleAndClassRegistrationFile ( string strippedAssemblyDir, string outputDir, RuntimeClassRegistry rcr, IEnumerable classesToSkip ) : void
strippedAssemblyDir string
outputDir string
rcr RuntimeClassRegistry
classesToSkip IEnumerable
return void

Property Details

NativeClassBlackList public_oe static_oe property

public static string[] NativeClassBlackList
return string[]