Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceAppsControl"/> class.
 /// </summary>
 public ServiceAppsControl()
 {
     this.InitializeComponent();
     this._presenter = new ServiceAppPresenter(this, new WebApiClientFactory());
     this.ServiceAppListView.ItemsSource = this._serviceApps;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceAppWrapper"/> class.
 /// </summary>
 /// <param name="factory">The factory.</param>
 public ServiceAppWrapper(IRestClientFactory factory)
 {
     this._presenter = new ServiceAppPresenter(this._view, factory);
 }