示例#1
0
 public void Remove(LogProviderConfigElement url)
 {
     if (BaseIndexOf(url) >= 0)
     {
         BaseRemove(url.Name);
     }
 }
示例#2
0
        public LogProviderCollection()
        {
            // When the collection is created, always add one element
            // with the default values. (This is not necessary; it is
            // here only to illustrate what can be done; you could
            // also create additional elements with other hard-coded
            // values here.)
            LogProviderConfigElement element = (LogProviderConfigElement)CreateNewElement();

            Add(element);
        }
 public void Remove(LogProviderConfigElement url)
 {
     if (BaseIndexOf(url) >= 0)
         BaseRemove(url.Name);
 }
 public int IndexOf(LogProviderConfigElement url)
 {
     return BaseIndexOf(url);
 }
 public void Add(LogProviderConfigElement url)
 {
     BaseAdd(url);
 }
示例#6
0
 public void Add(LogProviderConfigElement url)
 {
     BaseAdd(url);
 }
示例#7
0
 public int IndexOf(LogProviderConfigElement url)
 {
     return(BaseIndexOf(url));
 }