private static DefaultSettings RetrieveDefaultSettings () { using (CachesClient c = new CachesClient ()) { ApplicationContext.Current.PerfStart ("[ -- RetrieveDefaultSettings -- ]"); var appVersion = DefaultSettingsCache.ApplicationVersionLocator != null ? DefaultSettingsCache.ApplicationVersionLocator () : ""; ApplicationContext.Current.PerfStart ("[ -- RetrieveDefaultSettings : Get From API -- ]"); var response = c.GetDefaultSettings (appVersion).GetDefaultSettingsResult; ApplicationContext.Current.PerfEnd ("[ -- RetrieveDefaultSettings : Get From API -- ]"); ApplicationContext.Current.PerfEnd ("[ -- RetrieveDefaultSettings -- ]"); return response; } }