示例#1
0
 public HeadFetchService(IUriLocator uriLocator,
                         IWwwClient webClient,
                         IHeadParser headParser)
 {
     this.uriLocator = uriLocator;
     this.webClient  = webClient;
     this.headParser = headParser;
 }
示例#2
0
        public Updater(IUriLocator uriLocator, string applicationFolder, Option <string> manifestName, Option <string> channel)
        {
            this.uriLocator        = uriLocator;
            this.applicationFolder = applicationFolder;
            this.manifestName      = manifestName;
            this.channel           = channel;

            applicationUri = new Uri(Path.GetFullPath(applicationFolder) + "/", UriKind.Absolute);
        }
示例#3
0
 public Updater(IUriLocator uriLocator, string applicationFolder)
     : this(uriLocator, applicationFolder, Option <string> .None, Option <string> .None)
 {
 }