Class StyleDeclarationEdit
A descriptor of operation to mutate style declaration text.
public sealed record StyleDeclarationEdit : IEquatable<StyleDeclarationEdit>
- Inheritance
-
StyleDeclarationEdit
- Implements
- Inherited Members
Constructors
StyleDeclarationEdit(StyleSheetId, SourceRange, string)
A descriptor of operation to mutate style declaration text.
public StyleDeclarationEdit(StyleSheetId StyleSheetId, SourceRange Range, string Text)
Parameters
StyleSheetIdStyleSheetIdThe css style sheet identifier.
RangeSourceRangeThe range of the style text in the enclosing stylesheet.
TextstringNew style text.
Properties
Range
The range of the style text in the enclosing stylesheet.
public SourceRange Range { get; init; }
Property Value
StyleSheetId
The css style sheet identifier.
public StyleSheetId StyleSheetId { get; init; }
Property Value
Text
New style text.
public string Text { get; init; }