C# Class JsonFx.Compilation.ScriptCompactionAdapter

A simple adapter for connecting ResourceBuildProvider to YuiCompressor.NET/EcmaScript.NET.
ファイルを表示 Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Public Methods

Method Description
Compact ( string virtualPath, string inputSource, TextWriter output ) : List
Compact ( string virtalPath, string source ) : string
Compact ( string virtalPath, string source, List errors ) : string

Private Methods

Method Description
WriteHeader ( StringBuilder builder, string copyright, string timeStamp ) : void

Method Details

Compact() public static method

public static Compact ( string virtualPath, string inputSource, TextWriter output ) : List
virtualPath string
inputSource string
output System.IO.TextWriter
return List

Compact() public static method

public static Compact ( string virtalPath, string source ) : string
virtalPath string
source string
return string

Compact() public static method

public static Compact ( string virtalPath, string source, List errors ) : string
virtalPath string
source string
errors List
return string