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();
		}
Exemplo n.º 2
0
		public void Init()
		{
			Navigation = new NavigationMock();
			ObjectFactory = new ObjectFactoryMock<IPollSearchResults>();

			PropertiesChanged = new List<string>();

			ViewLocator.LocateTypeForModelType = (modelType, displayLocation, context) =>
			{
				return modelType;
			};
		}
		public void Init()
		{
			Navigation = new NavigationMock();
			ObjectFactory = new ObjectFactoryMock<IUser>();
			UserIdentityObjectFactory = new ObjectFactoryMock<IUserIdentity>();
			MessageBox = new MessageBoxMock();

			ViewLocator.LocateTypeForModelType = (modelType, displayLocation, context) =>
			{
				return modelType;
			};
		}
Exemplo n.º 4
0
		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;
			};
		}
Exemplo n.º 5
0
		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;
			};
		}
Exemplo n.º 6
0
		public void Init()
		{
			Navigation = new NavigationMock();
		}
		public void Init()
		{
			Navigation = new NavigationMock();
			AppSettings = new AppSettingsMock();
		}