Exemplo n.º 1
0
 public void Remove(EyediaConfigElement details)
 {
     if (BaseIndexOf(details) >= 0)
     {
         BaseRemove(details.Name);
     }
 }
Exemplo n.º 2
0
        public EyediaConfigElements()
        {
            EyediaConfigElement details = (EyediaConfigElement)CreateNewElement();

            if (details.Name != "")
            {
                Add(details);
            }
        }
Exemplo n.º 3
0
        protected override void BaseAdd(ConfigurationElement element)
        {
            EyediaConfigElement elem = element as EyediaConfigElement;
            Type elemType            = Type.GetType(elem.Type);

            if (elemType == null)
            {
                throw new Exception(string.Format("Could not initialize SymplusAcceleratorConfigElement of type '{0}'. The type was not found. Verify that the worker type has been defined correctly and required dlls exists in run time directory"
                                                  , elemType));
            }
            EyediaConfigElement implementedElement = (EyediaConfigElement)Activator.CreateInstance(elemType, elem.Name, elem.Type);

            BaseAdd(implementedElement, false);
        }
Exemplo n.º 4
0
 public void Add(EyediaConfigElement details)
 {
     BaseAdd(details);
 }
Exemplo n.º 5
0
 public int IndexOf(EyediaConfigElement details)
 {
     return(BaseIndexOf(details));
 }