Class Suggestion
Suggestion class represents a suggestion that describes a change that can be made to a document by replacing the existing markup between the from location and upto location with the suggestion markup.
Inherited Members
Namespace: Sdl.Verification.Api
Assembly: Sdl.Verification.Api.dll
Syntax
public class Suggestion
Constructors
Suggestion(IMessageLocation, IMessageLocation, IAbstractMarkupData)
Constructor that takes the from location, upto location, and suggestion markup.
Declaration
public Suggestion(IMessageLocation fromLocation, IMessageLocation uptoLocation, IAbstractMarkupData suggestionMarkup)
Parameters
Type | Name | Description |
---|---|---|
IMessage |
fromLocation | from location |
IMessage |
uptoLocation | upto location |
IAbstract |
suggestionMarkup | suggestion markup - set suggestionMarkup to null to suggest deleting the existing markup between the from location and the upto location |
Properties
FromLocation
FromLocation property represents the "start" location of the existing markup to be replaced.
Declaration
public IMessageLocation FromLocation { get; }
Property Value
Type | Description |
---|---|
IMessage |
SuggestionMarkup
SuggestionMarkup property represents the suggestion markup to replace the existing markup.
Declaration
public IAbstractMarkupData SuggestionMarkup { get; }
Property Value
Type | Description |
---|---|
IAbstract |
UptoLocation
UptoLocation property represents the "finish" location of the existing markup to be replaced.
Declaration
public IMessageLocation UptoLocation { get; }
Property Value
Type | Description |
---|---|
IMessage |