public void SetDataFromIData(IData source) { if (source != null) { foreach (var kvp in source) this.data[kvp.Key] = kvp.Value; } }