C# 클래스 Meta.MetaPackage

상속: Microsoft.VisualStudio.Shell.Package, IVsShellPropertyEvents, IVsSolutionEvents, IVsUpdateSolutionEvents2
파일 보기 프로젝트 열기: brandon-kohn/Meta 1 사용 예제들

공개 메소드들

메소드 설명
Build ( IVsHierarchy hierarchy, string targets, ICollection loggers, bool onlyProject = true, bool isDesignTimeBuild = true, bool NeedsUIThread = true, bool async = true ) : bool
ClaimBuildState ( ) : void
ClaimInstantiationState ( ) : void
Dispose ( ) : void
FreeBuildState ( ) : void
FreeInstantiationState ( ) : void
GetBuildOutputPane ( ) : IVsOutputWindowPane
GetHierarchy ( System serviceProvider, EnvDTE project ) : IVsHierarchy
GetOptions ( ) : MetaPackage.Options
GetProfileOutputPane ( ) : IVsOutputWindowPane
GetSelectedNodes ( ) : IList

Gets the list of selected IVsHierarchy objects

IsSolutionBuilding ( ) : bool
MetaPackage ( ) : System

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

TryClaimBuildState ( ) : bool
TryClaimInstantiationState ( ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.

비공개 메소드들

메소드 설명
BuildProfileCallback ( object sender, EventArgs e ) : void

This function is the callback used to execute a command when the a menu item is clicked. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.

CancelBuild ( ) : void
CleanProject ( IVsHierarchy hierarchy, bool async = false ) : void
GenerateBoostBuildFileCallback ( object sender, EventArgs e ) : void

IVsShellPropertyEvents ( int propid, object var ) : int
IVsSolutionEvents ( IVsHierarchy pStubHierarchy, IVsHierarchy pRealHierarchy ) : int
IVsSolutionEvents ( IVsHierarchy pHierarchy, int fAdded ) : int
IVsSolutionEvents ( IVsHierarchy pHierarchy, int fRemoving, int &pfCancel ) : int
IVsSolutionEvents ( object pUnkReserved ) : int
IVsSolutionEvents ( object pUnkReserved, int fNewSolution ) : int
IVsUpdateSolutionEvents ( ) : int
IVsUpdateSolutionEvents ( IVsHierarchy pIVsHierarchy ) : int
IVsUpdateSolutionEvents ( int &pfCancelUpdate ) : int
IVsUpdateSolutionEvents ( int fSucceeded, int fModified, int fCancelCommand ) : int
IVsUpdateSolutionEvents2 ( ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pIVsHierarchy ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int &pfCancel ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int fSuccess, int fCancel ) : int
IVsUpdateSolutionEvents2 ( int &pfCancelUpdate ) : int
IVsUpdateSolutionEvents2 ( int fSucceeded, int fModified, int fCancelCommand ) : int
TemplateProfileCallback ( object sender, EventArgs e ) : void
uiContex1Cmd_BeforeQueryStatus ( object sender, EventArgs e ) : void
uiContex2Cmd_BeforeQueryStatus ( object sender, EventArgs e ) : void
uiContex3Cmd_BeforeQueryStatus ( object sender, EventArgs e ) : void

메소드 상세

Build() 공개 메소드

public Build ( IVsHierarchy hierarchy, string targets, ICollection loggers, bool onlyProject = true, bool isDesignTimeBuild = true, bool NeedsUIThread = true, bool async = true ) : bool
hierarchy IVsHierarchy
targets string
loggers ICollection
onlyProject bool
isDesignTimeBuild bool
NeedsUIThread bool
async bool
리턴 bool

ClaimBuildState() 공개 메소드

public ClaimBuildState ( ) : void
리턴 void

ClaimInstantiationState() 공개 메소드

public ClaimInstantiationState ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FreeBuildState() 공개 메소드

public FreeBuildState ( ) : void
리턴 void

FreeInstantiationState() 공개 메소드

public FreeInstantiationState ( ) : void
리턴 void

GetBuildOutputPane() 공개 메소드

public GetBuildOutputPane ( ) : IVsOutputWindowPane
리턴 IVsOutputWindowPane

GetHierarchy() 공개 메소드

public GetHierarchy ( System serviceProvider, EnvDTE project ) : IVsHierarchy
serviceProvider System
project EnvDTE
리턴 IVsHierarchy

GetOptions() 공개 메소드

public GetOptions ( ) : MetaPackage.Options
리턴 MetaPackage.Options

GetProfileOutputPane() 공개 메소드

public GetProfileOutputPane ( ) : IVsOutputWindowPane
리턴 IVsOutputWindowPane

GetSelectedNodes() 공개 메소드

Gets the list of selected IVsHierarchy objects
public GetSelectedNodes ( ) : IList
리턴 IList

Initialize() 보호된 메소드

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
리턴 void

IsSolutionBuilding() 공개 메소드

public IsSolutionBuilding ( ) : bool
리턴 bool

MetaPackage() 공개 메소드

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public MetaPackage ( ) : System
리턴 System

TryClaimBuildState() 공개 메소드

public TryClaimBuildState ( ) : bool
리턴 bool

TryClaimInstantiationState() 공개 메소드

public TryClaimInstantiationState ( ) : bool
리턴 bool