Пример #1
0
 public RemoteService(RemoteLink link)
 {
     _link             = link;
     _watcher          = new AppDomainFileChangeWatcher(Recycle);
     _serviceDirectory = Path.IsPathRooted(_link.Folder)
         ? _link.Folder
         : PackageRegistry.GetApplicationDirectory().AppendPath(_link.Folder);
 }
Пример #2
0
 public RemoteService(RemoteLink link)
 {
     _link = link;
     _watcher = new AppDomainFileChangeWatcher(Recycle);
     _serviceDirectory = Path.IsPathRooted(_link.Folder)
         ? _link.Folder
         : PackageRegistry.GetApplicationDirectory().AppendPath(_link.Folder);
 }