Click or drag to resize

PreviewOperation Class



Represents a preview operation for generating a custom user preview for the operation.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis.CodeActions
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class PreviewOperation : CodeActionOperation

The PreviewOperation type exposes the following members.

Constructors
  NameDescription
Protected methodPreviewOperation
Initializes a new instance of the PreviewOperation class
Top
Properties
  NameDescription
Public propertyTitle
A short title describing of the effect of the operation.
(Inherited from CodeActionOperation.)
Top
Methods
  NameDescription
Public methodApply
Called by the host environment to apply the effect of the operation. This method is guaranteed to be called on the UI thread.
(Inherited from CodeActionOperation.)
Public methodGetPreviewAsync
Top
See Also