Пример #1
0
 private Field(string name, Var value)
 {
     Name = name;
     Var  = value;
 }
Пример #2
0
        public T Get <T>()
        {
            Var <T> var = Var as Var <T>;

            return(var == null ? default(T) : var.Value);
        }
Пример #3
0
        public static Field Create <T>(string name, T value)
        {
            Var var = Var.Create(value);

            return(new Field(name, var));
        }