C# 클래스 Microsoft.Samples.VisualStudio.GeneratorSample.LessCss

상속: BaseCodeGeneratorWithSite
파일 보기 프로젝트 열기: StevePotter/LessCssForVisualStudio

Private Properties

프로퍼티 타입 설명
ConvertToBytes byte[]
ExtractEmbeddedResource bool>.Tuple

공개 메소드들

메소드 설명
CopyStream ( Stream input, Stream output ) : void

보호된 메소드들

메소드 설명
GenerateCode ( string inputFileContent ) : byte[]

Function that builds the contents of the generated file based on the contents of the input file

GetDefaultExtension ( ) : string

비공개 메소드들

메소드 설명
ConvertToBytes ( string content ) : byte[]

Takes the file contents and converts them to a byte[] that VS can use to update generated code.

ExtractEmbeddedResource ( string fileName ) : bool>.Tuple

If the file doesn't already exist, this extracts it from the assemble manifest and saves it as a file.

메소드 상세

CopyStream() 공개 정적인 메소드

public static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
리턴 void

GenerateCode() 보호된 메소드

Function that builds the contents of the generated file based on the contents of the input file
protected GenerateCode ( string inputFileContent ) : byte[]
inputFileContent string Content of the input file
리턴 byte[]

GetDefaultExtension() 보호된 메소드

protected GetDefaultExtension ( ) : string
리턴 string