C# 클래스 SonarLint.VisualStudio.Progress.Controller.ProgressControllerStep

Partial class implementation of IProgressStepExecutionEvents
상속: IProgressStepExecutionEvents
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DoStatefulExecution void
GetContext VsTaskRunContext
IProgressStepExecutionEvents void
IProgressStepOperation Task
Initialize void

공개 메소드들

메소드 설명
ProgressControllerStep ( IProgressController controller, ProgressStepDefinition definition ) : Microsoft.VisualStudio

Creates a step from definition

보호된 메소드들

메소드 설명
ExecuteOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : void

Executes the operation

OnExecutionStateChanged ( ) : void

Invokes the StateChanged event based on the ExecutionState of the object

SetStepKind ( bool indeterminate ) : void

Sets the whether Indeterminate and updates the inital Progress

UpdateProgress ( string progressDetailText, double progress ) : void

Updates the progress with the specified values

비공개 메소드들

메소드 설명
DoStatefulExecution ( IProgressStepExecutionEvents progressCallback, CancellationToken cancellationToken ) : void
GetContext ( StepExecution execution ) : VsTaskRunContext

Returns the VsTaskRunContext for StepExecution

IProgressStepExecutionEvents ( string progressDetailText, double progress ) : void
IProgressStepOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : Task
Initialize ( ) : void

Initializes the step

메소드 상세

ExecuteOperation() 보호된 메소드

Executes the operation
protected ExecuteOperation ( CancellationToken cancellationToken, IProgressStepExecutionEvents progressCallback ) : void
cancellationToken CancellationToken Cancellation token
progressCallback IProgressStepExecutionEvents The callback instance to use when executing the operation
리턴 void

OnExecutionStateChanged() 보호된 메소드

Invokes the StateChanged event based on the ExecutionState of the object
protected OnExecutionStateChanged ( ) : void
리턴 void

ProgressControllerStep() 공개 메소드

Creates a step from definition
public ProgressControllerStep ( IProgressController controller, ProgressStepDefinition definition ) : Microsoft.VisualStudio
controller IProgressController The hosting for this step
definition ProgressStepDefinition The for which to create the step
리턴 Microsoft.VisualStudio

SetStepKind() 보호된 메소드

Sets the whether Indeterminate and updates the inital Progress
protected SetStepKind ( bool indeterminate ) : void
indeterminate bool Whether requested an indeterminate step
리턴 void

UpdateProgress() 보호된 메소드

Updates the progress with the specified values
protected UpdateProgress ( string progressDetailText, double progress ) : void
progressDetailText string Optional progress detail text
progress double Progress in a range of 0.0 to 1.0
리턴 void