/// <summary>
 /// Creates a default offline cached ArtifactResolver
 /// Default only searches in the executable directory files and the core zip. 
 /// </summary>
 public static IArtifactSource CreateOffline()
 {
     // Making requests to a WebArtifactSource is time consuming. So for performance we have an Offline Resolver.
     IArtifactSource resolver = new ArtifactResolver(new FileArtifactSource(), new CoreZipArtifactSource());
     return new CachedArtifactSource(resolver);
     
 }
Example #2
0
        /// <summary>
        /// Creates a default offline cached ArtifactResolver
        /// Default only searches in the executable directory files and the core zip.
        /// </summary>
        public static IArtifactSource CreateOffline()
        {
            // Making requests to a WebArtifactSource is time consuming. So for performance we have an Offline Resolver.
            IArtifactSource resolver = new ArtifactResolver(new FileArtifactSource(), new CoreZipArtifactSource());

            return(new CachedArtifactSource(resolver));
        }
Example #3
0
        /// <summary>
        /// Creates a default cached ArtifactResolver
        /// Default only searches in the executable directory files and the core zip.

        /// </summary>
        public static IArtifactSource CreateCachedDefault()
        {
            IArtifactSource resolver = ArtifactResolver.CreateDefault();

            return(new CachedArtifactSource(resolver));
        }