public PollResultsPageViewModel( INavigation navigation, IObjectFactory<IPollResults> objectFactory, IObjectFactory<IPoll> pollFactory, IObjectFactory<IPollComment> pollCommentFactory, IMessageBox messageBox #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) : base(navigation) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.pollCommentFactory = pollCommentFactory; this.messageBox = messageBox; this.PollComments = new ObservableCollection<PollCommentViewModel>(); #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
public PollResultsPageViewModel( IObjectFactory <IPollResults> objectFactory, IObjectFactory <IPoll> pollFactory, IObjectFactory <IPollComment> pollCommentFactory, IMessageBox messageBox, ILogger logger #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.pollCommentFactory = pollCommentFactory; this.messageBox = messageBox; this.logger = logger; this.PollComments = new ObservableCollection <PollCommentViewModel>(); this.PollDataResults = new ObservableCollection <PollDataResultViewModel>(); #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
public FeedItemViewModel( ISerializer serializer, IStorage storage, ISecondaryPinner secondaryPinner) : base(serializer) { this.storage = storage; this.secondaryPinner = secondaryPinner; }
public Win8FeedItemViewModel( ISerializer serializer, IStorage storage, ISecondaryPinner secondaryPinner, IShareManager shareManager) : base(serializer, storage, secondaryPinner) { this.shareManager = shareManager; }
public ViewPollPageViewModel( INavigation navigation, IObjectFactory<IPollSubmissionCommand> objectFactory, IObjectFactory<IPoll> pollFactory, IMessageBox messageBox #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) : base(navigation) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.messageBox = messageBox; #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
public ViewPollPageViewModel( IObjectFactory <IPollSubmissionCommand> objectFactory, IObjectFactory <IPoll> pollFactory, IMessageBox messageBox, ILogger logger #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.messageBox = messageBox; this.logger = logger; #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
public WP8FeedItemViewModel( ISerializer serializer, IStorage storage, ISecondaryPinner secondaryPinner) : base(serializer, storage, secondaryPinner) { this.AppBarButtons = new ObservableCollection <BindableApplicationBarIconButton>(); this.PinButton = new BindableApplicationBarIconButton { IconUri = new Uri("/Assets/PinIcon.png", UriKind.Relative), Text = "pin", ClickMethodName = "Pin" }; this.UnpinButton = new BindableApplicationBarIconButton { IconUri = new Uri("/Assets/UnpinIcon.png", UriKind.Relative), Text = "unpin", ClickMethodName = "Unpin" }; }
public WP8FeedItemViewModel( ISerializer serializer, IStorage storage, ISecondaryPinner secondaryPinner) : base(serializer, storage, secondaryPinner) { this.AppBarButtons = new ObservableCollection<BindableApplicationBarIconButton>(); this.PinButton = new BindableApplicationBarIconButton { IconUri = new Uri("/Assets/PinIcon.png", UriKind.Relative), Text = "pin", ClickMethodName = "Pin" }; this.UnpinButton = new BindableApplicationBarIconButton { IconUri = new Uri("/Assets/UnpinIcon.png", UriKind.Relative), Text = "unpin", ClickMethodName = "Unpin" }; }