Example #1
0
        public AnalyticsOptInWindowViewModel(AnalyticsOptInWindow owner)
        {
            _owner = owner.ThrowIfNull(nameof(owner));

            OptInCommand = new ProtectedCommand(OnOptInCommand);
            AnalyticsLearnMoreLinkCommand = new ProtectedCommand(() => AnalyticsLearnMoreUtils.OpenLearnMoreLink());
        }
 public AnalyticsOptionsPageViewModel()
 {
     AnalyticsLearnMoreLinkCommand = new ProtectedCommand(() => AnalyticsLearnMoreUtils.OpenLearnMoreLink());
 }