protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((PluginElement)(element)).PluginType);
 }
 protected override bool IsElementRemovable(System.Configuration.ConfigurationElement element)
 {
     throw null;
 }
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     throw null;
 }
예제 #4
0
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((ResourceDataAccessorConfigurationElement)element).Name);
 }
 protected override void Unmerge(System.Configuration.ConfigurationElement sourceElement, System.Configuration.ConfigurationElement parentElement, System.Configuration.ConfigurationSaveMode saveMode)
 {
 }
 protected override void BaseAdd(int index, System.Configuration.ConfigurationElement element)
 {
 }
        protected override object GetElementKey(System.Configuration.ConfigurationElement element)
        {
            var price = (PriceElement)element;

            return(string.Format("{0}-{1}->{2}%", price.Start, price.End, price.Percentage));
        }
예제 #8
0
 public void BaseReset(System.Configuration.ConfigurationElement parentElement)
 {
     throw new NotImplementedException();
 }
예제 #9
0
 public void BaseUnmerge(System.Configuration.ConfigurationElement sourceElement, System.Configuration.ConfigurationElement parentElement, System.Configuration.ConfigurationSaveMode saveMode)
 {
     throw new NotImplementedException();
 }
예제 #10
0
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((DataStoreElement)element).Name);
 }
예제 #11
0
 protected override void BaseAdd(System.Configuration.ConfigurationElement element)
 {
     BaseAdd(element, false);
 }
 /// <summary>
 /// Gets the element key
 /// </summary>
 /// <param name="element">element</param>
 /// <returns>key</returns>
 abstract protected override object GetElementKey(
     System.Configuration.ConfigurationElement element
     );
 public void Add(
     System.Configuration.ConfigurationElement element
     )
 {
     BaseAdd(element);
 }
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((AddElement)(element)).Field);
 }
 protected override void Reset(System.Configuration.ConfigurationElement parentElement)
 {
 }
 /// <summary>
 /// Gets the element key for a specified configuration element when overridden in a derived class.
 /// </summary>
 /// <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"></see> to return the key for.</param>
 /// <returns>
 /// An <see cref="T:System.Object"></see> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"></see>.
 /// </returns>
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((IndexusServerSetting)element).Key);
 }
 protected override System.Object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((T)element).Name);
 }
예제 #18
0
 protected override bool SaveChanges(System.Configuration.ConfigurationElement sourceElement)
 {
     return(false);
 }
 protected override Object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(default(Object));
 }
예제 #20
0
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((CachedUrlsElement)(element)).Path);
 }
예제 #21
0
 protected override object GetElementKey(System.Configuration.ConfigurationElement element)
 {
     return(((ItemElement)(element)).Name);
 }
 protected override bool IsElementRemovable(System.Configuration.ConfigurationElement element)
 {
     return(default(bool));
 }