Example #1
0
 /// <summary>
 /// Creates and returns a new wagon with the supplied value.
 /// </summary>
 /// <param name="Value">Content for the new DataWagon.</param>
 /// <returns>Created DataWagon.</returns>
 public DataWagon Add(string Name, object Value = null, DataWagon Link = null)
 {
     return(new DataWagon(Name, Value, this));
 }
Example #2
0
 /// Constructor
 public DataWagon(string Name, object Value = null, DataWagon Link = null)
 {
     this.Name  = Name;
     this.Value = Value;
     this.Link  = Link;
 }