Class AssemblyDefinition
A class that represents a Unity assembly definition (asmdef) file.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
Assembly: cs.temp.dll.dll
Syntax
public class AssemblyDefinition
Constructors
AssemblyDefinition()
Creates a new, empty assembly definition.
Declaration
public AssemblyDefinition()
Properties
AllowUnsafeCode
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public bool AllowUnsafeCode { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AutoReferenced
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public bool AutoReferenced { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DefineConstraints
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string[] DefineConstraints { get; set; }
Property Value
Type | Description |
---|---|
String[] |
ExcludePlatforms
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string[] ExcludePlatforms { get; set; }
Property Value
Type | Description |
---|---|
String[] |
IncludePlatforms
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string[] IncludePlatforms { get; set; }
Property Value
Type | Description |
---|---|
String[] |
Name
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
OptionalUnityReferences
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string[] OptionalUnityReferences { get; set; }
Property Value
Type | Description |
---|---|
String[] |
OverrideReferences
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public bool OverrideReferences { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
References
Please see Assembly Definition properties on the Unity documentation site.
Declaration
public string[] References { get; set; }
Property Value
Type | Description |
---|---|
String[] |
Methods
Load(String)
Loads an existing assembly definition file.
Declaration
public static AssemblyDefinition Load(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | The file to be loaded. |
Returns
Type | Description |
---|---|
AssemblyDefinition | The assembly definition that has been loaded, or null. |
Save(String)
Saves an assembly definition file.
Declaration
public void Save(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | The name by which to save the assembly definition file. |
Remarks
If the specified file exists, it will be overwritten.