Example #1
0
        public bool TryParse(string name, out IForcefield field)
        {
            if (name.ToUpper() == "NONE")
            {
                field = null;
                return(true);
            }

            return(_forcefields.TryGetValue(name.ToUpper(), out field));
        }
Example #2
0
        public bool TryParse(string name, out IForcefield field)
        {
            if (name.ToUpper() == "NONE")
            {
                field = null;
                return true;
            }

            return _forcefields.TryGetValue(name.ToUpper(), out field);
        }
Example #3
0
 public void RemoveField(IForcefield field)
 {
     Fields.Remove(field);
 }
Example #4
0
 public bool HasField(IForcefield field)
 {
     return Fields.Contains(field);
 }
Example #5
0
 public void AddField(IForcefield field)
 {
     Fields.Add(field);
 }
Example #6
0
 public void RemoveField(IForcefield field)
 {
     Fields.Remove(field);
 }
Example #7
0
 public void AddField(IForcefield field)
 {
     Fields.Add(field);
 }
Example #8
0
 public bool HasField(IForcefield field)
 {
     return(Fields.Contains(field));
 }