C# 클래스 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
상속: BaseClassCompilerStep
파일 보기 프로젝트 열기: johannes-brunner/DslConfig

공개 메소드들

메소드 설명
ImplicitBaseClassCompilerStep ( Type baseClass, string methodName ) : System

Create new instance of ImplicitBaseClassCompilerStep

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

Create new instance of ImplicitBaseClassCompilerStep

보호된 메소드들

메소드 설명
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

메소드 상세

ExtendBaseClass() 보호된 메소드

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
리턴 void

ExtendBaseClass() 보호된 메소드

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.
리턴 void

ImplicitBaseClassCompilerStep() 공개 메소드

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.
리턴 System

ImplicitBaseClassCompilerStep() 공개 메소드

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
리턴 System