Пример #1
0
 private void RegisterResource(IClientResource resource)
 {
     _registeredResources.Add(resource);
     resource.StartListen();
     resource.Subscribe(this);
     if (IsAccepted(resource))
     {
         AddResource(resource);
     }
 }