public NugetFeed(string url, NugetStability stability) { _url = url; Stability = stability; _online = new Lazy <bool>(isOnline); }
public NugetFeed(string url, NugetStability stability) { _url = url; Stability = stability; _online = new Lazy<bool>(isOnline); }
public FileSystemNugetFeed(string directory, NugetStability stability) { _directory = directory.ToCanonicalPath(); Path.GetInvalidPathChars().Each(x => { if (_directory.Contains(x)) { throw new InvalidOperationException("Invalid character in path: {0} ({1})".ToFormat(x, (int)x)); } }); _stability = stability; _fileSystem = new FileSystem(); }
public Feed(string url, UpdateMode mode, NugetStability stability) { Url = url.TrimEnd('/'); Mode = mode; Stability = stability; }
public FloatingFeed(string url, NugetStability stability) : base(url, stability) { _latest = new Lazy <IEnumerable <IRemoteNuget> >(getLatest); }
public NugetFeed(string url, NugetStability stability) { _url = url; _stability = stability; _repository = new PackageRepositoryFactory().CreateRepository(_url); }
public FloatingFeed(string url, NugetStability stability) : base(url, stability) { _latest = new Lazy<IEnumerable<IRemoteNuget>>(getLatest); }
public NugetStability DetermineStability(NugetStability stability) { return NugetStability ?? stability; }
public FloatingFileSystemNugetFeed(string directory, NugetStability stability) : base(directory, stability) { _nugets = new Lazy <IEnumerable <IRemoteNuget> >(findLatest); }
public FloatingFeed(string url, NugetStability stability) : base(url, stability) { _feed = new Lazy<XmlDocument>(loadLatestFeed); }
public FloatingFeed(string url, NugetStability stability) : base(url, stability) { _feed = new Lazy <XmlDocument>(loadLatestFeed); }
public NugetStability DetermineStability(NugetStability stability) { return(NugetStability ?? stability); }
public FloatingFileSystemNugetFeed(string directory, NugetStability stability) : base(directory, stability) { _nugets = new Lazy<IEnumerable<IRemoteNuget>>(findLatest); }