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(); }
private IVIHandler() { iviConfigStore = new IviConfigStore(); }