C# Class DslConfig.Boo.Steps.ImplicitBaseClassCompilerStep

Takes all the code that exists in a module's global section and put it in a specificied method of a class. Allow easy handling of the Anonymous Base Class pattern
Inheritance: BaseClassCompilerStep
Afficher le fichier Open project: johannes-brunner/DslConfig

Méthodes publiques

Méthode Description
ImplicitBaseClassCompilerStep ( Type baseClass, string methodName ) : System

Create new instance of ImplicitBaseClassCompilerStep

ImplicitBaseClassCompilerStep ( Type baseClass, string methodName, ParameterDeclarationCollection parameters ) : System

Create new instance of ImplicitBaseClassCompilerStep

Méthodes protégées

Méthode Description
ExtendBaseClass ( Module module, ClassDefinition definition ) : void

Allow a derived class to perform additional operations on the newly created type definition.

ExtendBaseClass ( Boo.Lang.Compiler.Ast.TypeDefinition definition ) : void

Allow to extend the base class in additional ways

Method Details

ExtendBaseClass() protected méthode

Allow a derived class to perform additional operations on the newly created type definition.
protected ExtendBaseClass ( Module module, ClassDefinition definition ) : void
module Boo.Lang.Compiler.Ast.Module
definition Boo.Lang.Compiler.Ast.ClassDefinition
Résultat void

ExtendBaseClass() protected méthode

Allow to extend the base class in additional ways
protected ExtendBaseClass ( Boo.Lang.Compiler.Ast.TypeDefinition definition ) : void
definition Boo.Lang.Compiler.Ast.TypeDefinition The definition.
Résultat void

ImplicitBaseClassCompilerStep() public méthode

Create new instance of ImplicitBaseClassCompilerStep
public ImplicitBaseClassCompilerStep ( Type baseClass, string methodName ) : System
baseClass System.Type The base class that will be used
methodName string The name of the method that will get all the code from globals moved to it.
Résultat System

ImplicitBaseClassCompilerStep() public méthode

Create new instance of ImplicitBaseClassCompilerStep
public ImplicitBaseClassCompilerStep ( Type baseClass, string methodName, ParameterDeclarationCollection parameters ) : System
baseClass System.Type The base class that will be used
methodName string The name of the method that will get all the code from globals moved to it.
parameters Boo.Lang.Compiler.Ast.ParameterDeclarationCollection The parameters of this method
Résultat System