An editor for Microsoft Adaptive Cards that supports the new templating language and DOESN'T use JavaScript, because JavaScript isn't a real programming language.
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.
 
 
 

28 lines
817 B

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Monaco.Languages
{
/// <summary>
/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.command.html
/// </summary>
public sealed class Command
{
//// TODO: Find a usage example for this in Monaco.
[JsonProperty("arguments", NullValueHandling = NullValueHandling.Ignore)]
public object[] Arguments { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("tooltip", NullValueHandling = NullValueHandling.Ignore)]
public string Tooltip { get; set; }
}
}