Beispiel #1
0
 /// <summary>
 /// </summary>
 public Field(ValueNodeSchema schema, string value = null)
     : base(schema.Key)
 {
     if (schema == null)
     {
         throw new ArgumentNullException("schema");
     }
     NodeSchema = schema;
     Context = new DefaultContext();
     _rawVal = value;
 }
Beispiel #2
0
 /// <summary>
 /// </summary>
 public Field(ValueNodeSchema schema, object value)
     : base(schema.Key, value)
 {
     NodeSchema = schema;
     Context = new DefaultContext();
 }