public void UpdateAdapter(IAdapterSettingsPartialView sourceView, Type actionContext) { if ((object)sourceView == null) { throw new ArgumentNullException("sourceView"); } Debug.WriteLine(Constants.URI_ADAPTER_UPDATE_EVENT); }
IDictionarySpecListView IDictionarySettingsPartialView.AddDictionarySpecView(string dictionaryId, bool preloadEnabled, long?recordCount, IAdapterSettingsPartialView adapterSettingsPartialView) { DictionaryListViewItem lviDictionarySpec; AdapterSettingsForm adapterSettingsForm; adapterSettingsForm = new AdapterSettingsForm(); lviDictionarySpec = new DictionaryListViewItem(new string[] { dictionaryId.SafeToString(), preloadEnabled.SafeToString(), recordCount.SafeToString(), string.Empty }, adapterSettingsForm); lviDictionarySpec.Tag = new DictionarySpec() { DictionaryId = dictionaryId.SafeToString(), RecordCount = recordCount, PreloadEnabled = preloadEnabled }; this.lvDictionarySpecs.Items.Add(lviDictionarySpec); this.CoreRefreshControlState(); return(lviDictionarySpec); }
private void ApplyDocumentToViewDelimitedTextDictionary(DictionaryConfiguration dictionaryConfiguration, IAdapterSettingsPartialView adapterSettingsPartialView) { //if ((object)dictionaryConfiguration == null) // throw new ArgumentNullException("dictionaryConfiguration"); //if ((object)adapterSettingsView == null) // throw new ArgumentNullException("adapterSettingsView"); //if ((object)dictionaryConfiguration.DictionaryAdapterConfiguration != null && // (object)dictionaryConfiguration.DictionaryAdapterConfiguration.DelimitedTextAdapterConfiguration != null) // _ApplyDocumentToViewDelimitedText(dictionaryConfiguration.DictionaryAdapterConfiguration.DelimitedTextAdapterConfiguration, adapterSettingsView.DelTextAdapterSettingsView); }