public bool TryParse(string name, out IForcefield field) { if (name.ToUpper() == "NONE") { field = null; return(true); } return(_forcefields.TryGetValue(name.ToUpper(), out field)); }
public bool TryParse(string name, out IForcefield field) { if (name.ToUpper() == "NONE") { field = null; return true; } return _forcefields.TryGetValue(name.ToUpper(), out field); }
public void RemoveField(IForcefield field) { Fields.Remove(field); }
public bool HasField(IForcefield field) { return Fields.Contains(field); }
public void AddField(IForcefield field) { Fields.Add(field); }
public bool HasField(IForcefield field) { return(Fields.Contains(field)); }