Exemplo n.º 1
0
 public void SetDictionaryValues(MetaDictionary <MetaValue, MetaValue> metaValues)
 {
     this.dictionaryKeys   = metaValues.GetKeys();
     this.dictionaryValues = metaValues.GetValues(this.dictionaryKeys);
     this.Enabled          = (this.dictionaryValues.Count > 0);
     this.RefreshData();
 }
        private void dump(MetaDictionary <MetaValue, MetaValue> metaValues)
        {
            MetaList <MetaValue> keys   = metaValues.GetKeys();
            MetaList <MetaValue> values = metaValues.GetValues(keys);

            this.dump(keys);
            this.dump(values);
        }
Exemplo n.º 3
0
 public void SetData(IRefreshable owner, Repository repository, MetaType metaType1, MetaType metaType2, MetaDictionary <MetaValue, MetaValue> metaValues)
 {
     this.owner            = owner;
     this.repository       = repository;
     this.type1            = metaType1;
     this.type2            = metaType2;
     this.dictionaryKeys   = metaValues.GetKeys();
     this.dictionaryValues = metaValues.GetValues(this.dictionaryKeys);
     this.vlVariables.ClearData();
     this.vlVariables.SetData(this, this.repository, this.type2);
     this.vlVariables.SetValue(this.dictionaryValues.Count > 0 ? this.dictionaryValues[0] : null);
 }
 private void dump(MetaDictionary <MetaValue, MetaValue> metaValues)
 {
     this.dump(metaValues.Count);
     if (metaValues.Count > 0)
     {
         this.dump((uint)2);
         MetaList <MetaValue> keys   = metaValues.GetKeys();
         MetaList <MetaValue> values = metaValues.GetValues(keys);
         this.dump(this._getLS2Type(keys[0].Type, true));
         this.dump(this._getLS2Type(values[0].Type, true));
         this.dump(keys);
         this.dump(values);
     }
 }
Exemplo n.º 5
0
 public void SetDictionaryValues(MetaDictionary<MetaValue, MetaValue> metaValues)
 {
     this.dictionaryKeys = metaValues.GetKeys();
     this.dictionaryValues = metaValues.GetValues(this.dictionaryKeys);
     this.Enabled = (this.dictionaryValues.Count > 0);
     this.RefreshData();
 }
Exemplo n.º 6
0
 public void SetData(IRefreshable owner, Repository repository, MetaType metaType1, MetaType metaType2, MetaDictionary<MetaValue, MetaValue> metaValues)
 {
     this.owner = owner;
     this.repository = repository;
     this.type1 = metaType1;
     this.type2 = metaType2;
     this.dictionaryKeys = metaValues.GetKeys();
     this.dictionaryValues = metaValues.GetValues(this.dictionaryKeys);
     this.vlVariables.ClearData();
     this.vlVariables.SetData(this, this.repository, this.type2);
     this.vlVariables.SetValue(this.dictionaryValues.Count > 0 ? this.dictionaryValues[0] : null);
 }
 private void dump(MetaDictionary<MetaValue, MetaValue> metaValues)
 {
     MetaList<MetaValue> keys = metaValues.GetKeys();
     MetaList<MetaValue> values = metaValues.GetValues(keys);
     this.dump(keys);
     this.dump(values);
 }