/// <summary /> /// <remarks /> public virtual void RemoveData(DataType _data) { this.List.Remove(_data); }
/// <summary /> /// <remarks /> public virtual void AddData(DataType _data) { this.List.Add(_data); }
/// <summary /> /// <remarks /> public virtual bool ContainsData(DataType _data) { return this.List.Contains(_data); }
private DataType[] ToDatas(IGraphSerializationInfo info) { DataType[] dts = new DataType[info.Count]; int i = 0; foreach(DictionaryEntry de in info) { dts[i] = new DataType(); dts[i].Key = de.Key.ToString(); if (de.Value!=null) dts[i].Text.AddString(de.Value.ToString()); ++i; } return dts; }
private string TextToString(DataType.Textcollection text) { StringWriter sw = new StringWriter(); foreach(string s in text) sw.Write(s); return sw.ToString(); }
/// <summary /> /// <remarks /> public virtual void RemoveDataType(DataType o) { this.List.Remove(o); }
/// <summary /> /// <remarks /> public virtual bool ContainsDataType(DataType o) { return this.List.Contains(o); }
/// <summary /> /// <remarks /> public virtual void AddDataType(DataType o) { this.List.Add(o); }