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.
 
 
 

34 lines
871 B

using Monaco.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Monaco.Editor
{
/// <summary>
/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.icontextkey.html
///
/// Supports bools only as Windows Runtime Type doesn't support generics.
/// </summary>
public interface IContextKey: IJsonable
{
/// <summary>
/// Get the current value of the key.
/// </summary>
/// <returns></returns>
bool Get();
/// <summary>
/// Resets the key to the default value.
/// </summary>
void Reset();
/// <summary>
/// Set the key to the specified value.
/// </summary>
/// <param name="value"></param>
void Set(bool value);
}
}