using Newtonsoft.Json;
using System;
namespace RuriLib.ViewModels
{
///
/// A custom input that is required to the user before the Config is started.
///
public class CustomInput : ViewModelBase
{
private string description = "";
/// The description of what the user needs to enter.
public string Description { get { return description; } set { description = value; OnPropertyChanged(); } }
private string variableName = "";
/// The name of the variable to create basing on the value provided by the user.
public string VariableName { get { return variableName; } set { variableName = value; OnPropertyChanged(); } }
/// The id of the Custom Input.
public int Id { get; set; }
///
/// Creates a CustomInput given an id.
///
/// A unique id
public CustomInput(int id)
{
Id = id;
}
}
}