Exemple #1
0
 public static bool IsNull(ValueModel model)
 => model == null || model is NullModel;
 public RootModel(ValueModel root) : this(root, new ArrayModel())
 {
 }
Exemple #3
0
 public ObjectField(string name, ValueModel model)
 {
     Name  = name;
     Model = model;
 }
 public RootModel(ValueModel root, ArrayModel shared)
 {
     Root   = root;
     Shared = shared;
 }
Exemple #5
0
 public void Add(string name, ValueModel value)
 {
     _properties.Add(new ObjectField(name, value));
 }