public string GetValue(DataExportProperty property) { if (_propertiesDictionary.ContainsKey(property)) { return(_propertiesDictionary[property]); } return(null); }
public void SetValue(DataExportProperty property, string value) { if (!_propertiesDictionary.ContainsKey(property)) { _propertiesDictionary.Add(property, value); } else { _propertiesDictionary[property] = value; } }
/// <summary> /// Stores a new <paramref name="value"/> for the given <paramref name="property"/> (and saves to the database) /// </summary> /// <param name="property"></param> /// <param name="value"></param> public void SetValue(DataExportProperty property, string value) { SetValue(property.ToString(), value); }
/// <inheritdoc cref="GetValue(string)"/> public string GetValue(DataExportProperty property) { return(GetValue(property.ToString())); }