C# Class SonarLint.VisualStudio.Integration.UnitTests.ProjectMock

Inheritance: VsUIHierarchyMock, IVsProject, Project, IVsBuildPropertyStorage, IVsAggregatableProjectCorrected
Mostrar archivo Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Property Type Description
IVsAggregatableProjectCorrected int
IVsAggregatableProjectCorrected int
IVsAggregatableProjectCorrected int
IVsAggregatableProjectCorrected int
IVsBuildPropertyStorage int
IVsBuildPropertyStorage int
IVsBuildPropertyStorage int
IVsProject int
IVsProject int
IVsProject int
IVsProject int
IVsProject int
IVsProject int
Project dynamic
Project void
Project void

Public Methods

Method Description
AddOrGetFile ( string filePath ) : uint
ClearBuildProperty ( string propertyName ) : void
ClearProjectKind ( ) : void
GetAggregateProjectTypeGuids ( ) : IEnumerable
GetBuildProperty ( string propertyName ) : string
ProjectMock ( string projectFile ) : EnvDTE
RemoveFile ( string filePath ) : void
SetAggregateProjectTypeGuids ( ) : void
SetAggregateProjectTypeString ( string str ) : void
SetBuildProperty ( string propertyName, string value ) : void
SetCSProjectKind ( ) : void
SetProjectKind ( System.Guid kind ) : void
SetTestProject ( ) : void
SetVBProjectKind ( ) : void

Private Methods

Method Description
IVsAggregatableProjectCorrected ( ) : int
IVsAggregatableProjectCorrected ( IntPtr punkInnerIUnknown ) : int
IVsAggregatableProjectCorrected ( string &pbstrProjTypeGuids ) : int
IVsAggregatableProjectCorrected ( string pszFilename, string pszLocation, string pszName, uint grfCreateFlags, System.Guid &iidProject, IntPtr &ppvProject, int &pfCanceled ) : int
IVsBuildPropertyStorage ( string pszPropName, string pszConfigName, uint storage ) : int
IVsBuildPropertyStorage ( string pszPropName, string pszConfigName, uint storage, string &pbstrPropValue ) : int
IVsBuildPropertyStorage ( uint item, string pszAttributeName, string &pbstrAttributeValue ) : int
IVsProject ( string pszMkDocument, int &pfFound, VSDOCUMENTPRIORITY pdwPriority, uint &pitemid ) : int
IVsProject ( uint itemid, System.Guid &rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame &ppWindowFrame ) : int
IVsProject ( uint itemid, Microsoft &ppSP ) : int
IVsProject ( uint itemidLoc, VSADDITEMOPERATION dwAddItemOperation, string pszItemName, uint cFilesToOpen, string rgpszFilesToOpen, IntPtr hwndDlgOwner, VSADDRESULT pResult ) : int
IVsProject ( uint itemid, string &pbstrMkDocument ) : int
IVsProject ( uint itemidLoc, string pszExt, string pszSuggestedRoot, string &pbstrItemName ) : int
Project ( string ExtenderName ) : dynamic
Project ( ) : void
Project ( string NewFileName ) : void

Method Details

AddOrGetFile() public method

public AddOrGetFile ( string filePath ) : uint
filePath string
return uint

ClearBuildProperty() public method

public ClearBuildProperty ( string propertyName ) : void
propertyName string
return void

ClearProjectKind() public method

public ClearProjectKind ( ) : void
return void

GetAggregateProjectTypeGuids() public method

public GetAggregateProjectTypeGuids ( ) : IEnumerable
return IEnumerable

GetBuildProperty() public method

public GetBuildProperty ( string propertyName ) : string
propertyName string
return string

ProjectMock() public method

public ProjectMock ( string projectFile ) : EnvDTE
projectFile string
return EnvDTE

RemoveFile() public method

public RemoveFile ( string filePath ) : void
filePath string
return void

SetAggregateProjectTypeGuids() public method

public SetAggregateProjectTypeGuids ( ) : void
return void

SetAggregateProjectTypeString() public method

public SetAggregateProjectTypeString ( string str ) : void
str string
return void

SetBuildProperty() public method

public SetBuildProperty ( string propertyName, string value ) : void
propertyName string
value string
return void

SetCSProjectKind() public method

public SetCSProjectKind ( ) : void
return void

SetProjectKind() public method

public SetProjectKind ( System.Guid kind ) : void
kind System.Guid
return void

SetTestProject() public method

public SetTestProject ( ) : void
return void

SetVBProjectKind() public method

public SetVBProjectKind ( ) : void
return void