C# Class VSSonarExtensionUi.Model.Helpers.SourceControlModel

source control model
Inheritance: ISourceControlProvider
ファイルを表示 Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method Description
GetBlameByLine ( Resource resource, int line ) : VSSonarPlugins.Types.BlameLine
GetBlameByLine ( string filePath, int line ) : VSSonarPlugins.Types.BlameLine

Gets the blame by line.

GetBranch ( ) : string

Gets the branch.

SourceControlModel ( IEnumerable sourceControlPlugins, string basePath, INotificationManager manager, ISonarRestService service ) : System

Initializes a new instance of the SourceControlModel class.

Private Methods

Method Description
GetSupportedPlugin ( ) : ISourceVersionPlugin

Gets the supported plugin.

Method Details

GetBlameByLine() public method

public GetBlameByLine ( Resource resource, int line ) : VSSonarPlugins.Types.BlameLine
resource VSSonarPlugins.Types.Resource
line int
return VSSonarPlugins.Types.BlameLine

GetBlameByLine() public method

Gets the blame by line.
public GetBlameByLine ( string filePath, int line ) : VSSonarPlugins.Types.BlameLine
filePath string The file path.
line int The line.
return VSSonarPlugins.Types.BlameLine

GetBranch() public method

Gets the branch.
public GetBranch ( ) : string
return string

SourceControlModel() public method

Initializes a new instance of the SourceControlModel class.
public SourceControlModel ( IEnumerable sourceControlPlugins, string basePath, INotificationManager manager, ISonarRestService service ) : System
sourceControlPlugins IEnumerable The source control plugins.
basePath string The base path.
manager INotificationManager The manager.
service ISonarRestService The service.
return System