예제 #1
0
        public override bool TryGetMember(GetMemberBinder binder, out object result)
        {
            string name  = binder.Name;
            FG_NV  entry = this.Values.Find(e => e.Name == name);

            if (entry != null)
            {
                result = entry.Value;
                return(true);
            }
            else
            {
                throw new NullReferenceException(name + " is not a in global parameter list");
            }
        }
예제 #2
0
 public void Add(FG_NV fG_NV)
 {
     this.Values.Add(fG_NV);
 }