public string ToSekvap(SekvapLanguage lang) { if (lang == null) throw new ArgumentNullException("lang"); var values = new List<KeyValuePair<string, string>>(); values.Add(new KeyValuePair<string, string>("Value", this.id)); if (this.isDeleted != null) values.Add(new KeyValuePair<string, string>(isDeletedKey, this.isDeleted.Value.ToString())); if (this.objectStoreBeginIndex != null) values.Add(new KeyValuePair<string, string>(objectStoreBeginIndexKey, this.objectStoreBeginIndex.Value.ToString())); if (this.objectStoreEndIndex != null) values.Add(new KeyValuePair<string, string>(objectStoreEndIndexKey, this.objectStoreEndIndex.Value.ToString())); if (this.objectStoreLength != null) values.Add(new KeyValuePair<string, string>(objectStoreLengthKey, this.objectStoreLength.Value.ToString())); if (this.type != null) values.Add(new KeyValuePair<string, string>(typeKey, this.type)); return lang.Write(values); }
public string ToSekvap() { var lang = new SekvapLanguage(); return this.ToSekvap(lang); }