Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the FeedbackDialog
 /// </summary>
 public MvxFeedbackDialog(IMvxUserInteraction userInteraction, IFeedbackDataService dataService,
                          IMvxComposeEmailTask composeEmailTask, IMvxWebBrowserTask webBrowser)
 {
     _userInteraction  = userInteraction;
     _dataService      = dataService;
     _composeEmailTask = composeEmailTask;
     _webBrowser       = webBrowser;
 }
Ejemplo n.º 2
0
 public EnvironmentService(
     IMvxPhoneCallTask phoneCallTask,
     IMvxComposeEmailTask composeEmailTask,
     IReachabilityService reachabilityService)
 {
     _phoneCallTask       = phoneCallTask;
     _composeEmailTask    = composeEmailTask;
     _reachabilityService = reachabilityService;
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Creates an AboutViewModel Object
 /// </summary>
 /// <param name="appInformation">Instance of a <see cref="IAppInformation" /> implementation.</param>
 /// <param name="composeEmailTask">Instance of a <see cref="IMvxComposeEmailTask" /> implementation.</param>
 /// <param name="webBrowserTask">Instance of a <see cref="IMvxWebBrowserTask" /> implementation.</param>
 /// <param name="storeOperations">Instance of a <see cref="IStoreOperations" /> implementation.</param>
 public AboutViewModel(IAppInformation appInformation,
                       IMvxComposeEmailTask composeEmailTask,
                       IMvxWebBrowserTask webBrowserTask,
                       IStoreOperations storeOperations)
 {
     this.appInformation   = appInformation;
     this.composeEmailTask = composeEmailTask;
     this.webBrowserTask   = webBrowserTask;
     storeFeatures         = storeOperations;
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     Creates an AboutViewModel Object
 /// </summary>
 /// <param name="appInformation">Instance of a <see cref="IAppInformation" /> implementation.</param>
 /// <param name="composeEmailTask">Instance of a <see cref="IMvxComposeEmailTask" /> implementation.</param>
 /// <param name="webBrowserTask">Instance of a <see cref="IMvxWebBrowserTask" /> implementation.</param>
 /// <param name="storeOperations">Instance of a <see cref="IStoreOperations" /> implementation.</param>
 public AboutViewModel(IAppInformation appInformation,
     IMvxComposeEmailTask composeEmailTask,
     IMvxWebBrowserTask webBrowserTask,
     IStoreOperations storeOperations)
 {
     this.appInformation = appInformation;
     this.composeEmailTask = composeEmailTask;
     this.webBrowserTask = webBrowserTask;
     storeFeatures = storeOperations;
 }
Ejemplo n.º 5
0
 /// <summary>
 ///     Creates an AboutViewModel Object
 /// </summary>
 /// <param name="appInformation">Instance of a <see cref="IAppInformation" /> implementation.</param>
 /// <param name="composeEmailTask">Instance of a <see cref="IMvxComposeEmailTask" /> implementation.</param>
 /// <param name="webBrowserTask">Instance of a <see cref="IMvxWebBrowserTask" /> implementation.</param>
 /// <param name="storeOperations">Instance of a <see cref="IStoreOperations" /> implementation.</param>
 public AboutViewModel(IAppInformation appInformation,
                       IMvxComposeEmailTask composeEmailTask,
                       IMvxWebBrowserTask webBrowserTask,
                       IStoreOperations storeOperations,
                       IMvxLogProvider logProvider,
                       IMvxNavigationService navigationService) : base(logProvider, navigationService)
 {
     this.appInformation   = appInformation;
     this.composeEmailTask = composeEmailTask;
     this.webBrowserTask   = webBrowserTask;
     storeFeatures         = storeOperations;
 }
Ejemplo n.º 6
0
        /// <summary>
        ///     Creates an AboutViewModel Object
        /// </summary>
        /// <param name="appInformation">Instance of a <see cref="IAppInformation" /> implementation.</param>
        /// <param name="composeEmailTask">Instance of a <see cref="IMvxComposeEmailTask" /> implementation.</param>
        /// <param name="webBrowserTask">Instance of a <see cref="IMvxWebBrowserTask" /> implementation.</param>
        /// <param name="storeFeatures">Instance of a <see cref="IStoreFeatures" /> implementation.</param>
        public AboutViewModel(IAppInformation appInformation,
            IMvxComposeEmailTask composeEmailTask,
            IMvxWebBrowserTask webBrowserTask,
            IStoreFeatures storeFeatures)
        {
            this.appInformation = appInformation;
            this.composeEmailTask = composeEmailTask;
            this.webBrowserTask = webBrowserTask;
            this.storeFeatures = storeFeatures;

            GoToWebsiteCommand = new MvxCommand(GoToWebsite);
            SendMailCommand = new MvxCommand(SendMail);
            RateAppCommand = new MvxCommand(RateApp);
            GoToRepositoryCommand = new MvxCommand(GoToRepository);
        }
        /// <summary>
        ///     Creates an AboutViewModel Object
        /// </summary>
        /// <param name="appInformation">Instance of a <see cref="IAppInformation" /> implementation.</param>
        /// <param name="composeEmailTask">Instance of a <see cref="IMvxComposeEmailTask" /> implementation.</param>
        /// <param name="webBrowserTask">Instance of a <see cref="IMvxWebBrowserTask" /> implementation.</param>
        /// <param name="storeFeatures">Instance of a <see cref="IStoreFeatures" /> implementation.</param>
        public AboutViewModel(IAppInformation appInformation,
                              IMvxComposeEmailTask composeEmailTask,
                              IMvxWebBrowserTask webBrowserTask,
                              IStoreFeatures storeFeatures)
        {
            this.appInformation   = appInformation;
            this.composeEmailTask = composeEmailTask;
            this.webBrowserTask   = webBrowserTask;
            this.storeFeatures    = storeFeatures;

            GoToWebsiteCommand    = new MvxCommand(GoToWebsite);
            SendMailCommand       = new MvxCommand(SendMail);
            RateAppCommand        = new MvxCommand(RateApp);
            GoToRepositoryCommand = new MvxCommand(GoToRepository);
        }
Ejemplo n.º 8
0
 public SpeakerViewModel(IMvxMessenger messenger, ICodeCampService campService, IMvxComposeEmailTask composeEmailTask)
     : base(messenger)
 {
     _campService      = campService;
     _composeEmailTask = composeEmailTask;
 }
 public MvxWindowsPhoneFeedbackDialog(IMvxUserInteraction userInteraction,
                                      IFeedbackDataService dataService, IMvxComposeEmailTask composeEmailTask,
                                      IMvxWebBrowserTask webBrowser) :
     base(userInteraction, dataService, composeEmailTask, webBrowser)
 {
 }