You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
866 B
32 lines
866 B
4 years ago
|
using Monaco.Helpers;
|
||
|
using Newtonsoft.Json;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
using Windows.Data.Json;
|
||
|
|
||
|
namespace Monaco.Editor
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Object Parser for https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imodeldeltadecoration.html
|
||
|
/// </summary>
|
||
|
#pragma warning disable CS1591
|
||
|
public sealed class IModelDeltaDecoration
|
||
|
{
|
||
|
[JsonProperty("options")]
|
||
|
public IModelDecorationOptions Options { get; private set; }
|
||
|
|
||
|
[JsonProperty("range")]
|
||
|
public IRange Range { get; private set; }
|
||
|
|
||
|
public IModelDeltaDecoration(IRange range, IModelDecorationOptions options)
|
||
|
{
|
||
|
this.Range = range;
|
||
|
this.Options = options;
|
||
|
}
|
||
|
}
|
||
|
#pragma warning restore CS1591
|
||
|
}
|