Example #1
0
 public ServiceMutator(TInterface value)
 {
     _value = value;
     _wrappedMutableService = new MutableService <ServiceMutator <TInterface, TService>, ServiceMutator <TInterface, TService> >(() => this, _ => GetChangeToken());
 }
Example #2
0
 public ChangeTrackerDisposable(MutableService <TInterface, TService> monitor, Action <TInterface> listener)
 {
     _listener = listener;
     _monitor  = monitor;
 }