Exemple #1
0
 /// <summary>Initializes a new instance of the <see cref="ServiceAdapter" /> class.</summary>
 /// <param name="guiCallback">Interface through which the adapter will talk to the GUI.</param>
 public ServiceAdapter(IGuiCallback guiCallback)
 {
     this._guiCallback  = guiCallback;
     this._subscription = new SubscriptionRepository(this);
     this._information  = new InformationRepository(this);
 }
 /// <summary>Initializes a new instance of the <see cref="SubscriptionRepository"/> class.</summary>
 /// <param name="guiCallback">Interface through which the GUI will be notified.</param>
 public InformationRepository(IGuiCallback guiCallback)
 {
     Guard.AssertNotNull(guiCallback, nameof(guiCallback));
     this._guiCallback = guiCallback;
 }
Exemple #3
0
 /// <summary>Initializes a new instance of the <see cref="SubscriptionRepository"/> class.</summary>
 /// <param name="guiCallback">Interface through which the GUI will be notified.</param>
 public SubscriptionRepository(IGuiCallback guiCallback)
 {
     this._guiCallback = guiCallback;
 }