Nitro.CodeAssembly Class Reference

Detailed Description

Used for security domains. Represents an assembly that types may be found in.

Public Member Functions

 CodeAssembly (Assembly assembly, bool current)
 Creates a code assembly with the given assembly object. More...
 
Type GetType (string name)
 Attempts to get the named type from this assembly. More...
 

Public Attributes

string Name
 The name of the assembly. More...
 
bool Current
 True if this is the current assembly. More...
 
bool NitroAOT
 True if this is a Nitro assembly. More...
 
Assembly Assembly
 The assembly itself. More...
 

Constructor & Destructor Documentation

Nitro.CodeAssembly.CodeAssembly ( Assembly  assembly,
bool  current 
)
inline

Creates a code assembly with the given assembly object.

Parameters
assemblyThe assembly to use.

Member Function Documentation

Type Nitro.CodeAssembly.GetType ( string  name)
inline

Attempts to get the named type from this assembly.

Parameters
nameThe name of the type to find.
Returns
A system type if it was found; null otherwise.

Member Data Documentation

Assembly Nitro.CodeAssembly.Assembly

The assembly itself.

bool Nitro.CodeAssembly.Current

True if this is the current assembly.

string Nitro.CodeAssembly.Name

The name of the assembly.

bool Nitro.CodeAssembly.NitroAOT

True if this is a Nitro assembly.