C# 클래스 LibSassHost.SassCompiler

Sass-compiler
상속: IDisposable
파일 보기 프로젝트 열기: Taritsyn/LibSassHost 1 사용 예제들

공개 메소드들

메소드 설명
Compile ( string content, string inputPath = null, string outputPath = null, CompilationOptions options = null ) : CompilationResult

"Compiles" a Sass-code to CSS-code

CompileFile ( string inputPath, string outputPath = null, CompilationOptions options = null ) : CompilationResult

"Compiles" a Sass-file to CSS-code

Dispose ( ) : void

Destroys object

SassCompiler ( IFileManager fileManager ) : System

Constructs a instance of Sass-compiler

비공개 메소드들

메소드 설명
BeginCompile ( SassContext context, string inputPath, string outputPath, CompilationOptions options ) : void
Dispose ( bool disposing ) : void

Destroys object

EndCompile ( SassContext context ) : CompilationResult
GetIndentString ( IndentType type, int width ) : string
GetLineFeedString ( LineFeedType type ) : string
SassCompiler ( ) : System

Static constructor

메소드 상세

Compile() 공개 메소드

"Compiles" a Sass-code to CSS-code
public Compile ( string content, string inputPath = null, string outputPath = null, CompilationOptions options = null ) : CompilationResult
content string Text content written on Sass
inputPath string Path to input file
outputPath string Path to output file
options CompilationOptions Compilation options
리턴 CompilationResult

CompileFile() 공개 메소드

"Compiles" a Sass-file to CSS-code
public CompileFile ( string inputPath, string outputPath = null, CompilationOptions options = null ) : CompilationResult
inputPath string Path to input file
outputPath string Path to output file
options CompilationOptions Compilation options
리턴 CompilationResult

Dispose() 공개 메소드

Destroys object
public Dispose ( ) : void
리턴 void

SassCompiler() 공개 메소드

Constructs a instance of Sass-compiler
public SassCompiler ( IFileManager fileManager ) : System
fileManager IFileManager File manager
리턴 System