public static GitExtSettingsCache FromCache(string settingsFilePath)
        {
            var createSettingsCache = new Lazy <GitExtSettingsCache>(
                () => new GitExtSettingsCache(settingsFilePath, true));

            return(FileSettingsCache.FromCache(settingsFilePath, createSettingsCache));
        }
示例#2
0
        public static ConfigFileSettingsCache FromCache(string settingsFilePath, bool isLocal)
        {
            var createSettingsCache = new Lazy <ConfigFileSettingsCache>(
                () => new ConfigFileSettingsCache(settingsFilePath, true, isLocal));

            return(FileSettingsCache.FromCache(settingsFilePath, createSettingsCache));
        }
示例#3
0
        public static ConfigFileSettingsCache FromCache(string aSettingsFilePath, bool aLocal)
        {
            Lazy <ConfigFileSettingsCache> createSettingsCache = new Lazy <ConfigFileSettingsCache>(() =>
            {
                return(new ConfigFileSettingsCache(aSettingsFilePath, true, aLocal));
            });

            return(FileSettingsCache.FromCache(aSettingsFilePath, createSettingsCache));
        }
        public static GitExtSettingsCache FromCache(string aSettingsFilePath)
        {
            Lazy <GitExtSettingsCache> createSettingsCache = new Lazy <GitExtSettingsCache>(() =>
            {
                return(new GitExtSettingsCache(aSettingsFilePath, true));
            });

            return(FileSettingsCache.FromCache(aSettingsFilePath, createSettingsCache));
        }