Esempio n. 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");
            }
        }
Esempio n. 2
0
 public void Add(FG_NV fG_NV)
 {
     this.Values.Add(fG_NV);
 }