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

Inheritance: VsUIHierarchyMock, IVsProject, Project, IVsBuildPropertyStorage, IVsAggregatableProjectCorrected
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddOrGetFile ( string filePath ) : uint
filePath string
Résultat uint

ClearBuildProperty() public méthode

public ClearBuildProperty ( string propertyName ) : void
propertyName string
Résultat void

ClearProjectKind() public méthode

public ClearProjectKind ( ) : void
Résultat void

GetAggregateProjectTypeGuids() public méthode

public GetAggregateProjectTypeGuids ( ) : IEnumerable
Résultat IEnumerable

GetBuildProperty() public méthode

public GetBuildProperty ( string propertyName ) : string
propertyName string
Résultat string

ProjectMock() public méthode

public ProjectMock ( string projectFile ) : EnvDTE
projectFile string
Résultat EnvDTE

RemoveFile() public méthode

public RemoveFile ( string filePath ) : void
filePath string
Résultat void

SetAggregateProjectTypeGuids() public méthode

public SetAggregateProjectTypeGuids ( ) : void
Résultat void

SetAggregateProjectTypeString() public méthode

public SetAggregateProjectTypeString ( string str ) : void
str string
Résultat void

SetBuildProperty() public méthode

public SetBuildProperty ( string propertyName, string value ) : void
propertyName string
value string
Résultat void

SetCSProjectKind() public méthode

public SetCSProjectKind ( ) : void
Résultat void

SetProjectKind() public méthode

public SetProjectKind ( System.Guid kind ) : void
kind System.Guid
Résultat void

SetTestProject() public méthode

public SetTestProject ( ) : void
Résultat void

SetVBProjectKind() public méthode

public SetVBProjectKind ( ) : void
Résultat void