示例#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));
        }
示例#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);
        }
示例#3
0
 public void RemoveField(IForcefield field)
 {
     Fields.Remove(field);
 }
示例#4
0
 public bool HasField(IForcefield field)
 {
     return Fields.Contains(field);
 }
示例#5
0
 public void AddField(IForcefield field)
 {
     Fields.Add(field);
 }
示例#6
0
 public void RemoveField(IForcefield field)
 {
     Fields.Remove(field);
 }
示例#7
0
 public void AddField(IForcefield field)
 {
     Fields.Add(field);
 }
示例#8
0
 public bool HasField(IForcefield field)
 {
     return(Fields.Contains(field));
 }