示例#1
0
        private HostResolver(HostResolverConfiguration config)
        {
            _self = new Self();
            _manager = new Manager(_self);

            _self.config = config;

            _self.resolvingScope = make_resolving_scope(_self);
            trace("Resolving scope URI is '{0}'", _self.resolvingScope.ToString());

            _self.repo = new Repository();
            _self.thread = new ResolvingThread(_self, _manager);
            _self.wcf = new WcfDiscovery(_self, _manager);
        }
示例#2
0
 public static IHostResolver New(HostResolverConfiguration config)
 {
     return
         new HostResolver(config);
 }