コード例 #1
0
 public void Remove(InstanceDataElement instance)
 {
     if (BaseIndexOf(instance) >= 0)
     {
         BaseRemove(instance.Name);
     }
 }
コード例 #2
0
        public static System.Configuration.Configuration GetConfiguration(string instanceName)
        {
            InstanceDataElement instance = GetInstance(instanceName);

            ExeConfigurationFileMap fileMap = new ExeConfigurationFileMap();

            fileMap.ExeConfigFilename = instance.ConfigurationFile;

            return(ConfigurationManager.OpenMappedExeConfiguration(fileMap, ConfigurationUserLevel.None));
        }
コード例 #3
0
 public void Add(InstanceDataElement instance)
 {
     BaseAdd(instance);
 }
コード例 #4
0
 public int IndexOf(InstanceDataElement instance)
 {
     return(BaseIndexOf(instance));
 }