public override Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Add(DumpX, X); dump.Add(DumpY, Y); dump.Add(DumpZ, Z); return(dump); }
public override Dump Dump() { DumpWithHeader result = new DumpWithHeader(); result.Header = "RANGE"; result.Add(DumpStop, InnerEnumerable.Stop); result.Add(DumpStart, InnerEnumerable.Start); result.Add(DumpStep, InnerEnumerable.Step); return(result); }
public virtual Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Header = "MESSAGE"; dump.Add(DumpSentAt, SentAt); dump.Add(DumpReceivedAt, ReceivedAt); dump.Add(DumpContent, content); return(dump); }
public override Dump Dump() { DumpWithHeader result = new DumpWithHeader(); result.Header = "NOTE"; result.Add("freq", Frequency); result.Add("endfreq", Frequency); result.Add("vol", Volume); result.Add("keydown", KeyDownLength); result.Add("duration", Duration); return(result); }
public override Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Add("value", Value); return(dump); }
public override Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Add("value", internalString); return(dump); }
public override Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Header = "VESSEL '" + Vessel.vesselName + "'"; dump.Add(DumpGuid, Vessel.id.ToString()); return(dump); }
public override Dump Dump() { var dump = new DumpWithHeader { Header = string.Format("BODY '{0}'", Body.bodyName) }; dump.Add(DumpName, Body.bodyName); return(dump); }
public override Dump Dump() { Dump dump = new DumpWithHeader { Header = "Message" }; dump.Add(DumpMessage, Message); return(dump); }
public override Dump Dump() { var result = new DumpWithHeader { Header = label + " of " + InnerEnumerable.Count() + " items:" }; result.Add(kOS.Safe.Dump.Items, InnerEnumerable.Cast <object>().ToList()); return(result); }
public Dump Dump() { DumpWithHeader dump = new DumpWithHeader(); dump.Header = "MESSAGE QUEUE"; int i = 0; foreach (M message in Messages) { dump.Add(i, message); i++; } return(dump); }
public override Dump Dump() { var result = new DumpWithHeader { Header = label + " of " + InnerEnumerable.Count() + " items:" }; int i = 0; foreach (T item in this) { result.Add(i, item); i++; } return(result); }
public override Dump Dump() { var result = new DumpWithHeader { Header = "PIDLoop" }; result.Add("Kp", Kp); result.Add("Ki", Ki); result.Add("Kd", Kd); result.Add("Setpoint", Setpoint); result.Add("MaxOutput", MaxOutput); result.Add("MinOutput", MinOutput); result.Add("ExtraUnwind", ExtraUnwind); return(result); }
public override Dump Dump() { var result = new DumpWithHeader { Header = "LEXICON of " + internalDictionary.Count() + " items:" }; List <object> list = new List <object>(); foreach (KeyValuePair <Structure, Structure> entry in internalDictionary) { list.Add(entry.Key); list.Add(entry.Value); } result.Add(kOS.Safe.Dump.Entries, list); return(result); }
public override Dump Dump() { var result = new DumpWithHeader { Header = "LIST of " + Collection.Count() + " items:" }; // This conversion is needed because TerminalFormatter.WriteIndented() demands to only // work with exactly List<object> and bombs out on List<Structure>'s: List <object> list = new List <object>(); foreach (object entry in Collection) { list.Add(entry); } result.Add(kOS.Safe.Dump.Items, list); return(result); }