C# 클래스 TypeSql.VisualStudio.TypeSql

상속: IVsSingleFileGenerator, IObjectWithSite
파일 보기 프로젝트 열기: MJRichardson/TypeSql

Private Properties

프로퍼티 타입 설명
DetermineTargetLanguage TargetLanguage
GetCodeProvider System.CodeDom.Compiler.CodeDomProvider
GetDefaultExtension string
GetService object

공개 메소드들

메소드 설명
DefaultExtension ( string &pbstrDefaultExtension ) : int
Generate ( string wszInputFilePath, string bstrInputFileContents, string wszDefaultNamespace, IntPtr rgbOutputFileContents, uint &pcbOutput, IVsGeneratorProgress pGenerateProgress ) : int
GetSite ( System.Guid &riid, IntPtr &ppvSite ) : void
SetSite ( object pUnkSite ) : void
TypeSql ( ) : System

보호된 메소드들

메소드 설명
GetService ( Type serviceType ) : object

Method to get a service by its Type

비공개 메소드들

메소드 설명
DetermineTargetLanguage ( ) : TargetLanguage
GetCodeProvider ( ) : CodeDomProvider

Returns a CodeDomProvider object for the language of the project containing the project item the generator was called on

GetDefaultExtension ( ) : string

Gets the default extension of the output file from the CodeDomProvider

GetService ( System.Guid serviceGuid ) : object

Method to get a service by its GUID

메소드 상세

DefaultExtension() 공개 메소드

public DefaultExtension ( string &pbstrDefaultExtension ) : int
pbstrDefaultExtension string
리턴 int

Generate() 공개 메소드

public Generate ( string wszInputFilePath, string bstrInputFileContents, string wszDefaultNamespace, IntPtr rgbOutputFileContents, uint &pcbOutput, IVsGeneratorProgress pGenerateProgress ) : int
wszInputFilePath string
bstrInputFileContents string
wszDefaultNamespace string
rgbOutputFileContents System.IntPtr
pcbOutput uint
pGenerateProgress IVsGeneratorProgress
리턴 int

GetService() 보호된 메소드

Method to get a service by its Type
protected GetService ( Type serviceType ) : object
serviceType System.Type Type of service to retrieve
리턴 object

GetSite() 공개 메소드

public GetSite ( System.Guid &riid, IntPtr &ppvSite ) : void
riid System.Guid
ppvSite System.IntPtr
리턴 void

SetSite() 공개 메소드

public SetSite ( object pUnkSite ) : void
pUnkSite object
리턴 void

TypeSql() 공개 메소드

public TypeSql ( ) : System
리턴 System