public void Init() { Navigation = new NavigationMock(); ObjectFactory = new ObjectFactoryMock<IPollResults>(); PollFactory = new ObjectFactoryMock<IPoll>(); PollCommentFactory = new ObjectFactoryMock<IPollComment>(); MessageBox = new MessageBoxMock(); ShareManager = new ShareManagerMock(); SecondaryPinner = new SecondaryPinnerMock(); }
public void Init() { Navigation = new NavigationMock(); ObjectFactory = new ObjectFactoryMock<IUser>(); UserIdentityObjectFactory = new ObjectFactoryMock<IUserIdentity>(); MessageBox = new MessageBoxMock(); ViewLocator.LocateTypeForModelType = (modelType, displayLocation, context) => { return modelType; }; }
public void Init() { Navigation = new NavigationMock(); MessageBox = new MessageBoxMock(); AuthenticationService = new MobileServiceMock(); ObjectFactory = new ObjectFactoryMock<IUserIdentity>(); AppSettings = new AppSettingsMock(); ViewLocator.LocateTypeForModelType = (modelType, displayLocation, context) => { return modelType; }; }
public void Init() { Navigation = new NavigationMock(); ObjectFactory = new ObjectFactoryMock<IPollSubmissionCommand>(); PollFactory = new ObjectFactoryMock<IPoll>(); MessageBox = new MessageBoxMock(); ShareManager = new ShareManagerMock(); SecondaryPinner = new SecondaryPinnerMock(); PropertiesChanged = new List<string>(); ViewLocator.LocateTypeForModelType = (modelType, displayLocation, context) => { return modelType; }; }