C# Class Microsoft.Scripting.Generation.Snippets

Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
CreateDynamicMethod ( string methodName, Type returnType, Type parameterTypes, bool isDebuggable ) : DynamicILGen
DefineDelegate ( string name, Type returnType ) : Type
DefineDelegateType ( string name ) : TypeBuilder
DefinePublicType ( string name, Type parent ) : TypeBuilder
DefineType ( string name, Type parent, bool preserveName, bool emitDebugSymbols ) : TypeGen
IsSnippetsAssembly ( Assembly asm ) : bool
SaveAndVerifyAssemblies ( ) : void
SetSaveAssemblies ( bool enable, string directory ) : void

Private Methods

Méthode Description
ConfigureSaveAssemblies ( bool enable, string directory ) : void
CreateDynamicMethod ( string name, Type returnType, Type parameterTypes ) : DynamicMethod
CreateNewAssembly ( string nameSuffix, bool emitSymbols ) : Microsoft.Scripting.Generation.AssemblyGen
GetAssembly ( bool emitSymbols ) : Microsoft.Scripting.Generation.AssemblyGen
GetMethodILDumpFile ( MethodBase method ) : string
GetOrCreateAssembly ( bool emitSymbols, Microsoft.Scripting.Generation.AssemblyGen &assembly ) : Microsoft.Scripting.Generation.AssemblyGen
RawCreateDynamicMethod ( string name, Type returnType, Type parameterTypes ) : DynamicMethod
SaveAssemblies ( ) : string[]
Snippets ( ) : System.Linq.Expressions

Method Details

CreateDynamicMethod() public méthode

public CreateDynamicMethod ( string methodName, Type returnType, Type parameterTypes, bool isDebuggable ) : DynamicILGen
methodName string
returnType System.Type
parameterTypes System.Type
isDebuggable bool
Résultat DynamicILGen

DefineDelegate() public méthode

public DefineDelegate ( string name, Type returnType ) : Type
name string
returnType System.Type
Résultat System.Type

DefineDelegateType() public méthode

public DefineDelegateType ( string name ) : TypeBuilder
name string
Résultat System.Reflection.Emit.TypeBuilder

DefinePublicType() public méthode

public DefinePublicType ( string name, Type parent ) : TypeBuilder
name string
parent System.Type
Résultat System.Reflection.Emit.TypeBuilder

DefineType() public méthode

public DefineType ( string name, Type parent, bool preserveName, bool emitDebugSymbols ) : TypeGen
name string
parent System.Type
preserveName bool
emitDebugSymbols bool
Résultat TypeGen

IsSnippetsAssembly() public méthode

public IsSnippetsAssembly ( Assembly asm ) : bool
asm System.Reflection.Assembly
Résultat bool

SaveAndVerifyAssemblies() public static méthode

public static SaveAndVerifyAssemblies ( ) : void
Résultat void

SetSaveAssemblies() public static méthode

public static SetSaveAssemblies ( bool enable, string directory ) : void
enable bool
directory string
Résultat void