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); }
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); } }
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(); }
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); }