Property | Type | Description | |
---|---|---|---|
CreateRowContextMenu | ObservableCollection |
||
FilterIssuesWithFalsePositives | List |
||
GetUpdateTimeFromAssembly | System.DateTime | ||
InitCommanding | void | ||
OnCloseLeftFlyoutCommand | void | ||
OnGoToNextIssueCommand | void | ||
OnGoToPrevIssueCommand | void | ||
OnOpenLogCommand | void | ||
OnOpenSourceDirCommand | void | ||
OnStopLocalAnalysisCommand | void | ||
PopulateFalsePositivesAndResolvedItems | void | ||
ReloadSavedOptions | void | ||
RunLocalAnalysis | void | ||
ShowHideLeftFlyout | void | ||
UpdateLocalIssues | void | ||
UpdateNewLocalIssues | void | ||
UpdateOutputMessagesFromPlugin | void | ||
ValidateAdminRights | void | ||
WasAssemblyUpdated | bool |
Method | Description | |
---|---|---|
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary |
The init data association.
|
|
ClearIssues ( ) : void |
Clears the issues.
|
|
GetAvailableModel ( ) : object |
Gets the available model, TODO: needs to be removed after view models are split into models and view models
|
|
GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List |
The get issues for resource.
|
|
GetViewModel ( ) : object |
Gets the view model.
|
|
LocalViewModel ( IList |
Initializes a new instance of the LocalViewModel class.
|
|
OnAnalysisCommand ( ) : void |
The on analysis command.
|
|
OnAnalysisModeHasChange ( |
The on changed.
|
|
OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable |
Called when [connect to sonar].
|
|
OnDisconnect ( ) : void |
Called when [disconnect].
|
|
OnFileAnalysisIsEnabledChanged ( ) : void |
The on file analysis is enabled changed.
|
|
OnIncrementalCommand ( ) : void |
The on incremental command.
|
|
OnPreviewCommand ( ) : void |
The on preview command.
|
|
OnSelectedViewChanged ( ) : void |
The on selected view changed.
|
|
OnShowFalsePositivesAndResolvedIssuesChanged ( ) : void |
Called when [show false positives and resolved issues changed].
|
|
OnShowFlyoutsChanged ( ) : void |
Called when [show flyouts changed].
|
|
OnShowIssuesOnModifiedSectionsOfFileOnlyChanged ( ) : void |
Called when [show issues on modified sections of file only changed].
|
|
OnSolutionClosed ( ) : void |
The end data association.
|
|
RefreshDataForResource ( Resource resourceFile, string resourceName, string content, bool fromSave ) : void |
The refresh data for resource.
|
|
ResetStats ( ) : void |
Reset Stats.
|
|
RunAnalysis ( AnalysisTypes mode, bool fromSave ) : void |
Runs the analysis.
|
|
ShowNewAddedIssuesAndLock ( ) : void |
Shows the new added issues and lock.
|
|
TriggerAProjectAnalysis ( VsProjectItem project ) : void |
The trigger a project analysis.
|
|
UpdateColours ( Color background, Color foreground ) : void |
The update colours.
|
|
UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void |
The update services.
|
Method | Description | |
---|---|---|
CreateRowContextMenu ( ISonarRestService service, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : ObservableCollection |
The create row context menu.
|
|
FilterIssuesWithFalsePositives ( List |
Filters the issues with false positives.
|
|
GetUpdateTimeFromAssembly ( string outputPath ) : System.DateTime |
Gets the update time from assembly.
|
|
InitCommanding ( ) : void |
The init commanding.
|
|
OnCloseLeftFlyoutCommand ( ) : void |
The on flyout log viewer command.
|
|
OnGoToNextIssueCommand ( ) : void |
Called when [go to next issue command].
|
|
OnGoToPrevIssueCommand ( ) : void |
Called when [go to previous issue command].
|
|
OnOpenLogCommand ( ) : void |
Called when [open log command].
|
|
OnOpenSourceDirCommand ( ) : void |
The on open source dir command.
|
|
OnStopLocalAnalysisCommand ( ) : void |
The on stop local analysis command.
|
|
PopulateFalsePositivesAndResolvedItems ( ) : void |
Populates the false positives and resolved items.
|
|
ReloadSavedOptions ( IConfigurationHelper configurationHelperIn ) : void |
Reloads the saved options.
|
|
RunLocalAnalysis ( AnalysisTypes analysis, bool fromSave ) : void |
The run local analysis new.
|
|
ShowHideLeftFlyout ( object sender, |
Shows the hide left flyout.
|
|
UpdateLocalIssues ( object sender, EventArgs e ) : void |
The update local issues in view.
|
|
UpdateNewLocalIssues ( ) : void |
The update local issues in view.
|
|
UpdateOutputMessagesFromPlugin ( object sender, EventArgs e ) : void |
The update output messages from plugin.
|
|
ValidateAdminRights ( ) : void |
Validates the admin rights.
|
|
WasAssemblyUpdated ( VsProjectItem project ) : bool |
Wases the assembly updated.
|
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary |
||
project | Resource | The project. |
workingDir | string | The working dir. |
provider | ISourceControlProvider | The provider. |
profile | Profile>.Dictionary | The profile. |
visualStudioVersion | string | |
return | void |
public GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List |
||
file | Resource | The file. |
fileContent | string | The file content. |
shownfalseandresolved | bool | The shown false and resolved. |
return | List |
public LocalViewModel ( IList |
||
pluginsIn | IList |
The plugin data. |
service | ISonarRestService | The service. |
configurationHelper | IConfigurationHelper | The configuration helper. |
notificationManager | INotificationManager | The notification manager. |
translator | ISQKeyTranslator | The translator. |
analyser | ISonarLocalAnalyser | The analyzer. |
newIssuesList | Dictionary |
The new issues list. |
return | System |
public OnAnalysisModeHasChange ( |
||
e | /// The e. /// | |
return | void |
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable |
||
configuration | ISonarConfiguration | sonar configuration |
availableProjects | IEnumerable |
The available projects. |
issuePlugin | IIssueTrackerPlugin | The issue plugin. |
return | void |
public OnFileAnalysisIsEnabledChanged ( ) : void | ||
return | void |
public OnShowFalsePositivesAndResolvedIssuesChanged ( ) : void | ||
return | void |
public OnShowIssuesOnModifiedSectionsOfFileOnlyChanged ( ) : void | ||
return | void |
public RefreshDataForResource ( Resource resourceFile, string resourceName, string content, bool fromSave ) : void | ||
resourceFile | Resource | The resource file. |
resourceName | string | Name of the resource. |
content | string | The content. |
fromSave | bool | if set to |
return | void |
public RunAnalysis ( AnalysisTypes mode, bool fromSave ) : void | ||
mode | AnalysisTypes | The mode. |
fromSave | bool | if set to |
return | void |
public TriggerAProjectAnalysis ( VsProjectItem project ) : void | ||
project | VsProjectItem | The project. |
return | void |
public UpdateColours ( Color background, Color foreground ) : void | ||
background | Color | /// The background. /// |
foreground | Color | /// The foreground. /// |
return | void |
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void | ||
vsenvironmenthelperIn | IVsEnvironmentHelper | The vsenvironmenthelper in. |
statusBarIn | IVSSStatusBar | The status bar in. |
provider | IServiceProvider | The provider. |
return | void |