C# 클래스 NStub.Core.NStubCore

The NStub type represents the container class which manages the generation of testing code for the supplied System.CodeDom.CodeNamespace using the supplied implementation of NStub.Core.ICodeGenerator. The resulting files are output to the given directory.
파일 보기 프로젝트 열기: Jedzia/NStub 1 사용 예제들

공개 메소드들

메소드 설명
GenerateCode ( ) : void

Generates the code represented by the current System.CodeDom.CodeNamespace using the current NStub.Core.ICodeGenerator.

NStubCore ( IBuildSystem buildSystem, CodeNamespace codeNamespace, string outputDirectory, ICodeGenerator codeGenerator ) : System

Initializes a new instance of the NStubCore class which will generate the given System.CodeDom.CodeNamespace to the given output directory using the given implementation of NStub.Core.ICodeGenerator.

비공개 메소드들

메소드 설명
InitCodeGenerator ( ICodeGenerator codeGenerator ) : void

Initializes the given codeGenerator.

메소드 상세

GenerateCode() 공개 메소드

Generates the code represented by the current System.CodeDom.CodeNamespace using the current NStub.Core.ICodeGenerator.
public GenerateCode ( ) : void
리턴 void

NStubCore() 공개 메소드

Initializes a new instance of the NStubCore class which will generate the given System.CodeDom.CodeNamespace to the given output directory using the given implementation of NStub.Core.ICodeGenerator.
codeNamespace, /// outputDirectory, or codeGenerator is null. outputDirectory is an /// empty string. outputDirectory /// is not a valid directory.
public NStubCore ( IBuildSystem buildSystem, CodeNamespace codeNamespace, string outputDirectory, ICodeGenerator codeGenerator ) : System
buildSystem IBuildSystem The build system.
codeNamespace System.CodeDom.CodeNamespace The code namespace which contains the types /// to be generated.
outputDirectory string The directory where the resulting /// files will be output to.
codeGenerator ICodeGenerator The code generator which will perform the /// generation.
리턴 System