Version 2.1.0.0

AssemblyGenerator class

Namespace: Sirenix.Utilities.Editor.CodeGeneration
Assembly: Sirenix.Utilities.Editor
public sealed class AssemblyGenerator : IDisposable
Not yet documented.
Inheritance
  • System.Object
  • AssemblyGenerator

Constructors

AssemblyGenerator()
Not yet documented.
public AssemblyGenerator()

Properties

DefaultNamespace
Not yet documented.
public string DefaultNamespace { get; set; }
IncludeActiveUnityDefines
Not yet documented.
public bool IncludeActiveUnityDefines { get; set; }
IncludeEditorAssemblies
Not yet documented.
public bool IncludeEditorAssemblies { get; set; }
IncludeNonPluginUserScriptAssemblies
Not yet documented.
public bool IncludeNonPluginUserScriptAssemblies { get; set; }
KeepFiles
Not yet documented.
public bool KeepFiles { get; set; }
KeepFilesOnError
Not yet documented.
public bool KeepFilesOnError { get; set; }
LogErrors
Not yet documented.
public bool LogErrors { get; set; }
ReferenceUnityAssemblies
Not yet documented.
public bool ReferenceUnityAssemblies { get; set; }
ReferenceUserScriptAssemblies
Not yet documented.
public bool ReferenceUserScriptAssemblies { get; set; }

Methods

AddDefine(String)
Not yet documented.
public void AddDefine(string define)
Parameters
System.String define

AddExternAlias(String, Assembly)
Not yet documented.
public void AddExternAlias(string alias, Assembly assembly)
Parameters
System.String alias

System.Reflection.Assembly assembly

AddExternAlias(String, String)
Not yet documented.
public void AddExternAlias(string alias, string assemblyPath)
Parameters
System.String alias

System.String assemblyPath

AddReferencedAssembly(Assembly)
Not yet documented.
public void AddReferencedAssembly(Assembly assembly)
Parameters
System.Reflection.Assembly assembly

AddReferencedAssembly(String)
Not yet documented.
public void AddReferencedAssembly(string assemblyPath)
Parameters
System.String assemblyPath

Compile(String, Boolean)
Not yet documented.
public bool Compile(string assemblyPath, bool isUnityAssetsPath = true)
Parameters
System.String assemblyPath

System.Boolean isUnityAssetsPath

Returns
System.Boolean

CreateCodeWriter(String)
Not yet documented.
public CodeWriter CreateCodeWriter(string fileName)
Parameters
System.String fileName

Returns
CodeWriter

Dispose()
Not yet documented.
public void Dispose()