예제 #1
0
        private static IIviConfigStore LoadConfigStore()
        {
            IIviConfigStore iviConfigStore         = new IviConfigStore();
            string          text                   = iviConfigStore.MasterLocation;
            string          processDefaultLocation = iviConfigStore.ProcessDefaultLocation;

            if (!string.IsNullOrEmpty(processDefaultLocation))
            {
                text = processDefaultLocation;
            }
            if (text.Length > 0 && File.Exists(text))
            {
                iviConfigStore.Deserialize(text);
                return(iviConfigStore);
            }
            throw new ConfigurationStoreLoadException();
        }
예제 #2
0
 private IVIHandler()
 {
     iviConfigStore = new IviConfigStore();
 }