Crunchy-Downloader/CRD/Utils/Structs/Variable.cs

18 lines
454 B
C#
Raw Normal View History

2024-05-04 15:35:32 +00:00
namespace CRD.Utils.Structs;
public class Variable{
public string Name{ get; set; }
public object ReplaceWith{ get; set; }
public string Type{ get; set; }
public bool Sanitize{ get; set; }
public Variable(string name, object replaceWith, bool sanitize){
Name = name;
ReplaceWith = replaceWith;
Type = replaceWith.GetType().Name.ToLower();
Sanitize = sanitize;
}
public Variable(){
}
}