public ActivityViewModelQuery( IDocumentSession documentSession, ISightingViewFactory sightingViewFactory, ISightingNoteViewFactory sightingNoteViewFactory, IIdentificationViewFactory identificationViewFactory, IPostViewFactory postViewFactory, IUserContext userContext, IUserViewFactory userViewFactory) { Check.RequireNotNull(documentSession, "documentSession"); Check.RequireNotNull(sightingViewFactory, "sightingViewFactory"); Check.RequireNotNull(sightingNoteViewFactory, "sightingNoteViewFactory"); Check.RequireNotNull(identificationViewFactory, "identificationViewFactory"); Check.RequireNotNull(postViewFactory, "postViewFactory"); Check.RequireNotNull(userContext, "userContext"); Check.RequireNotNull(userViewFactory, "userViewFactory"); _documentSession = documentSession; _sightingViewFactory = sightingViewFactory; _sightingNoteViewFactory = sightingNoteViewFactory; _identificationViewFactory = identificationViewFactory; _postViewFactory = postViewFactory; _userContext = userContext; _userViewFactory = userViewFactory; }
public IdentificationViewModelQuery( IDocumentSession documentSession, IIdentificationViewFactory identificationViewFactory) { Check.RequireNotNull(documentSession, "documentSession"); Check.RequireNotNull(identificationViewFactory, "identificationViewFactory"); _documentSession = documentSession; _identificationViewFactory = identificationViewFactory; }
public ActivityIdentificationAdded( IDocumentSession documentSession, IBackChannelService backChannelService, ISightingViewFactory sightingViewFactory, IIdentificationViewFactory identificationViewFactory ) { Check.RequireNotNull(documentSession, "documentSession"); Check.RequireNotNull(backChannelService, "backChannelService"); Check.RequireNotNull(sightingViewFactory, "sightingViewFactory"); Check.RequireNotNull(identificationViewFactory, "identificationViewFactory"); _documentSession = documentSession; _backChannelService = backChannelService; _sightingViewFactory = sightingViewFactory; _identificationViewFactory = identificationViewFactory; }