Exemplo n.º 1
0
 /// <summary>
 /// Creates a new NewSubscriptionViewModel
 /// </summary>
 /// <param name="subscription">The subscription object to model</param>
 /// <param name="owner">The owner dialog.</param>
 public NewSubscriptionViewModel(Subscription subscription, CommonDialogWindowBase owner)
 {
     _owner        = owner;
     Subscription  = subscription;
     CreateCommand = new ProtectedCommand(OnCreateCommand);
     PushConfig    = subscription.PushConfig ?? new PushConfig();
 }
Exemplo n.º 2
0
 public static void ReportScreenView(CommonDialogWindowBase dialog)
 {
     Debug.WriteLine($"Opening window {dialog.Title}");
     s_reporter.Value?.ReportScreen(dialog.GetType().Name);
 }
 public NewTopicViewModel(string project, CommonDialogWindowBase owner)
 {
     _owner        = owner;
     Project       = project;
     CreateCommand = new ProtectedCommand(OnCreateCommand);
 }