C# Class TriAxis.RunSharp.AssemblyGen

Inheritance: ICodeGenBasicContext
Show file Open project: AqlaSolutions/runsharp Class Usage Examples

Private Properties

Property Type Description
AddType void
FromHex byte[]
GetAssemblyName string
Initialize void
Qualify string
WriteAssemblyAttributes void

Public Methods

Method Description
AssemblyGen ( AppDomain universe, string assemblyName, CompilerOptions options, ITypeMapper typeMapper = null ) : System
AssemblyGen ( AppDomain.AppDomain domain, string name, CompilerOptions options, ITypeMapper typeMapper = null ) : System
AssemblyGen ( string assemblyName, CompilerOptions options ) : System
AssemblyGen ( string name, CompilerOptions options, ITypeMapper typeMapper = null ) : System
Attribute ( AttributeType type ) : AssemblyGen
BeginAttribute ( AttributeType type ) : AttributeGen
BeginModuleAttribute ( AttributeType type ) : AttributeGen
Class ( System baseType, string name ) : TypeGen
Class ( string name ) : TypeGen
Class ( string name, System baseType ) : TypeGen
Class ( string name, Type baseType ) : TypeGen
Complete ( ) : void
Delegate ( System returnType, string name ) : DelegateGen
Delegate ( Type returnType, string name ) : DelegateGen
GetAssembly ( ) : Assembly
Interface ( string name ) : TypeGen
ModuleAttribute ( AttributeType type ) : AssemblyGen
Namespace ( string name ) : IDisposable
Save ( ) : void
Struct ( string name ) : TypeGen

Private Methods

Method Description
AddType ( TypeGen tg ) : void
FromHex ( string value ) : byte[]
GetAssemblyName ( ) : string
Initialize ( AppDomain universe, string assemblyName, AssemblyBuilderAccess access, CompilerOptions options, ITypeMapper typeMapper = null ) : void
Qualify ( string name ) : string
WriteAssemblyAttributes ( CompilerOptions options, string assemblyName, AssemblyBuilder asm ) : void

Method Details

AssemblyGen() public method

public AssemblyGen ( AppDomain universe, string assemblyName, CompilerOptions options, ITypeMapper typeMapper = null ) : System
universe System.AppDomain
assemblyName string
options CompilerOptions
typeMapper ITypeMapper
return System

AssemblyGen() public method

public AssemblyGen ( AppDomain.AppDomain domain, string name, CompilerOptions options, ITypeMapper typeMapper = null ) : System
domain System.AppDomain.AppDomain
name string
options CompilerOptions
typeMapper ITypeMapper
return System

AssemblyGen() public method

public AssemblyGen ( string assemblyName, CompilerOptions options ) : System
assemblyName string
options CompilerOptions
return System

AssemblyGen() public method

public AssemblyGen ( string name, CompilerOptions options, ITypeMapper typeMapper = null ) : System
name string
options CompilerOptions
typeMapper ITypeMapper
return System

Attribute() public method

public Attribute ( AttributeType type ) : AssemblyGen
type AttributeType
return AssemblyGen

BeginAttribute() public method

public BeginAttribute ( AttributeType type ) : AttributeGen
type AttributeType
return AttributeGen

BeginModuleAttribute() public method

public BeginModuleAttribute ( AttributeType type ) : AttributeGen
type AttributeType
return AttributeGen

Class() public method

public Class ( System baseType, string name ) : TypeGen
baseType System
name string
return TypeGen

Class() public method

public Class ( string name ) : TypeGen
name string
return TypeGen

Class() public method

public Class ( string name, System baseType ) : TypeGen
name string
baseType System
return TypeGen

Class() public method

public Class ( string name, Type baseType ) : TypeGen
name string
baseType IKVM.Reflection.Type
return TypeGen

Complete() public method

public Complete ( ) : void
return void

Delegate() public method

public Delegate ( System returnType, string name ) : DelegateGen
returnType System
name string
return DelegateGen

Delegate() public method

public Delegate ( Type returnType, string name ) : DelegateGen
returnType IKVM.Reflection.Type
name string
return DelegateGen

GetAssembly() public method

public GetAssembly ( ) : Assembly
return Assembly

Interface() public method

public Interface ( string name ) : TypeGen
name string
return TypeGen

ModuleAttribute() public method

public ModuleAttribute ( AttributeType type ) : AssemblyGen
type AttributeType
return AssemblyGen

Namespace() public method

public Namespace ( string name ) : IDisposable
name string
return IDisposable

Save() public method

public Save ( ) : void
return void

Struct() public method

public Struct ( string name ) : TypeGen
name string
return TypeGen