|
override string | ToString () |
|
bool | SecurityCheckAssembly (CodeSecurityRestrictions restrictions) |
| Run security verification on this assembly using the specified security restrictions.
|
|
virtual bool | SecurityCheckAssembly (CodeSecurityRestrictions restrictions, out CodeSecurityReport report) |
| Run security verification on this assembly using the specified security restrictions and output a security report.
|
|
virtual bool | HasType (string name) |
| Returns true if this ScriptAssembly defines a type with the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
virtual bool | HasSubTypeOf (Type subType) |
| Returns true if this ScriptAssembly defines one or more types that inherit from the specified type. The specified type may be a base class or interface type.
|
|
bool | HasSubTypeOf< T > () |
| Returns true if this ScriptAssembly defined one or more types that inherit from the specified generic type. The specified generic type may be a base class or interface type.
|
|
virtual bool | HasSubTypeOf (Type subType, string name) |
| Returns true if this ScriptAssembly defines a type that inherits from the specified type and matches the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
bool | HasSubTypeOf< T > (string name) |
| Returns true if this ScriptAssembly defines a type that inherits from the specified genric type and matches the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
virtual ScriptType | FindType (string name) |
| Attempts to find a type defined in this ScriptAssembly with the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
virtual ScriptType | FindType (Type type) |
| Attempts to find a type defined in this ScriptAssembly from the specified system type.
|
|
virtual ScriptType | FindSubTypeOf (Type subType, bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find a type defined in this ScriptAssembly that inherits from the specified base type. If there is more than one type that inherits from the specified base type, then the first matching type will be returned. If you want to find all types then use FindAllSubTypesOf(Type, bool).
|
|
ScriptType | FindSubTypeOf< T > (bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find a type defined in this ScriptAssembly that inherits from the specified generic type. If there is more than one type that inherits from the specified generic type, then the first matching type will be returned. If you want to find all types then use FindAllSubTypesOf<T>(bool).
|
|
virtual ScriptType | FindSubTypeOf (Type subType, string name) |
| Attempts to find a type defined in this ScriptAssembly that inherits from the specified base type and matches the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
ScriptType | FindSubTypeOf< T > (string name) |
| Attempts to find a type defined in this ScriptAssembly that inherits from the specified generic type and matches the specified name. Depending upon settings, name comparison may or may not be case sensitive.
|
|
virtual ScriptType[] | FindAllSubTypesOf (Type subType, bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find all types defined in this ScriptAssembly that inherits from the specified type. If there are no types that inherit from the specified type then the return value will be an empty array.
|
|
ScriptType[] | FindAllSubTypesOf< T > (bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find all types defined in this ScriptAssembly that inherit from the specified generic type. If there are no types that inherit from the specified type then the return value will be an empty array.
|
|
virtual ScriptType[] | FindAllTypes (bool includeNonPublic=true, bool findNestedTypes=true) |
| Returns an array of all defined types in this ScriptAssembly.
|
|
ScriptType[] | FindAllUnityTypes (bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find all types defined in this ScriptAssembly that inherit from UnityEngine.Object.
If there are no types that inherit from UnityEngine.Object then the return value will be an empty array.
|
|
ScriptType[] | FindAllMonoBehaviourTypes (bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find all types defined in this ScriptAssembly that inherit from UnityEngine.MonoBehaviour.
If there are no types that inherit from UnityEngine.MonoBehaviour then the return value will be an empty array.
|
|
ScriptType[] | FindAllScriptableObjectTypes (bool includeNonPublic=true, bool findNestedTypes=true) |
| Attempts to find all types defined in this ScriptAssembly that inherit from UnityEngine.ScriptableObject.
If there are no types that inherit from UnityEngine.ScriptableObject then the return value will be an empty array.
|
|
virtual IEnumerable< ScriptType > | EnumerateAllSubTypesOf (Type subType, bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all types defined in this ScriptAssembly that inherits from the specified type.
|
|
IEnumerable< ScriptType > | EnumerateAllSubTypesOf< T > (bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all types defined in this ScriptAssembly that inherit from the specified generic type.
|
|
virtual IEnumerable< ScriptType > | EnumerateAllTypes (bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all defined types in this ScriptAssembly.
|
|
IEnumerable< ScriptType > | EnumerateAllUnityTypes (bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all types defined in this ScriptAssembly that inherit from UnityEngine.Object.
|
|
IEnumerable< ScriptType > | EnumerateAllMonoBehaviourTypes (bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all types defined in this ScriptAssembly that inherit from UnityEngine.MonoBehaviour.
|
|
IEnumerable< ScriptType > | EnumerateAllScriptableObjectTypes (bool includeNonPublic=true, bool enumerateNestedTypes=true) |
| Enumerate all types defined in this ScriptAssembly that inherit from UnityEngine.ScriptableObject.
|
|
|
abstract ScriptDomain | Domain [get] |
| Get the ScriptDomain that this ScriptAssembly is currently loaded in.
|
|
abstract Assembly | SystemAssembly [get] |
| Get the Assembly that this ScriptAssembly wraps.
|
|
virtual ScriptType | MainType [get] |
| Gets the main type for the assembly. This will usually return the first defined class type in the assembly which is especially useful for assemblies that only define a single type.
|
|
virtual string | Name [get] |
| Get the name of the wrapped assembly.
|
|
virtual string | FullName [get] |
| Get the full name of the wrapped assembly.
|
|
virtual Version | Version [get] |
| Get the version of the wrapped assembly.
|
|
virtual string | AssemblyPath [get] |
| Get the location of the loaded system assembly.
|
|
virtual string | AssemblySymbolsPath [get] |
| Get the location of the loaded debug symbols file.
|
|
virtual byte[] | AssemblyImage [get] |
| Get the raw assembly image data of the loaded system assembly.
|
|
virtual byte[] | AssemblySymbolsImage [get] |
| Get the raw debug symbols image data for the loaded assembly.
|
|
virtual MetadataReference | CompilerReference [get] |
| Get the metadata reference that can be used to add this assembly as a compiler reference.
|
|
abstract bool | IsRuntimeCompiled [get] |
| Returns true if this assembly was compiled at runtime by the Roslyn compiler service.
|
|
abstract DateTime | RuntimeCompiledTime [get] |
| Get the DateTime when this assembly was runtime compiled.
|
|
abstract CompilationResult | CompileResult [get] |
| Get the compilation result for the assembly if it was runtime compiled.
|
|
virtual bool | IsSecurityValidated [get] |
| Returns true if this assembly has passed security verification.
|
|
virtual CodeSecurityReport | SecurityReport [get] |
| Get the code security report for this assembly if it was security verified.
|
|
MetadataReference | CompilerReference [get] |
|