/////////////////////////////////////////////////////////////////////// public StringPairList ToList() { CheckDisposed(); StringPairList list = new StringPairList(); list.Add("name", (name != null) ? name : _String.Null); list.Add("interpreter", (interpreter != null) ? interpreter.InternalToString() : _String.Null); if (!id.Equals(Guid.Empty)) { list.Add("id", id.ToString()); } list.Add("type", type.ToString()); list.Add("flags", flags.ToString()); list.Add("priority", priority.ToString()); list.Add("dateTime", dateTime.ToString()); list.Add("callback", (callback != null) ? callback.ToString() : _String.Null); list.Add("clientData", ((clientData != null) && (clientData.Data != null)) ? StringList.MakeList(clientData.Data.GetType().Name, clientData.Data) : _String.Null); return(list); }