示例#1
0
        public ScalarValue Lookup(Group template, QName key, QName applicationType)
        {
            ScalarValue value;

            if (_dictionary.TryGetValue(Tuple.Create(template.TypeReference, key), out value))
            {
                return(value);
            }

            return(ScalarValue.Undefined);
        }
示例#2
0
 public void Store(Group template, QName key, QName applicationType, ScalarValue value)
 {
     _dictionary[Tuple.Create(template.TypeReference, key)] = value;
 }