1using CommunityToolkit.Mvvm.ComponentModel;
2using CommunityToolkit.Mvvm.Input;
14 public partial class VariableModel(string Name, object Value) : BaseViewModel
16 private readonly
string name = Name;
21 public string Name => this.name;
27 private object value = Value;
39 public void UpdateValue(
object Value)
51 private async Task CopyToClipboard()
55 await Clipboard.SetTextAsync(this.AsScript);
Base class that references services in the app.
static ILogService LogService
Log service.
static IUiService UiService
Service serializing and managing UI-related tasks.
static IStringLocalizer Localizer
Localization service
Class managing a script expression.
static string ToString(double Value)
Converts a value to a string, that can be parsed as part of an expression.