Example #1
0
 public Registration(ResourceInformer <TResource> resourceInformer, ResourceInformerCallback <TResource> callback)
 {
     ResourceInformer = resourceInformer;
     Callback         = callback;
     lock (resourceInformer._sync)
     {
         resourceInformer._registrations = resourceInformer._registrations.Add(this);
     }
 }
Example #2
0
 public Task ReadyAsync(CancellationToken cancellationToken) => ResourceInformer.ReadyAsync(cancellationToken);