public void SetUp ()
        {
            ServiceContainer.Register<ISynchronizeInvoke> (() => new Mocks.MockSynchronizeInvoke ());
            ServiceContainer.Register<IAssignmentService> (() => new Mocks.MockAssignmentService ());

            viewModel = new DocumentViewModel ();
        }
		public SummaryHistoryActivity ()
		{
			historyViewModel = ServiceContainer.Resolve<HistoryViewModel> ();
			itemViewModel = ServiceContainer.Resolve<ItemViewModel> ();
			laborViewModel = ServiceContainer.Resolve<LaborViewModel> ();
			photoViewModel = ServiceContainer.Resolve<PhotoViewModel> ();
			expenseViewModel = ServiceContainer.Resolve<ExpenseViewModel> ();
			documentViewModel = ServiceContainer.Resolve<DocumentViewModel> ();
			menuViewModel = ServiceContainer.Resolve<MenuViewModel> ();

			assignmentHistory = historyViewModel.SelectedAssignmentHistory;
		}
			public TableSource (DocumentViewModel documentViewModel)
			{
				this.documentViewModel = documentViewModel;
				documentController = new UIDocumentInteractionController();
			}
		public DocumentController (IntPtr handle) : base (handle)
		{
			documentViewModel = ServiceContainer.Resolve<DocumentViewModel>();
			assignmentViewModel = ServiceContainer.Resolve<AssignmentViewModel>();
		}