예제 #1
0
 public StoreRepository(IDatabaseIntegrator <StoreEntity> databaseIntegrator,
                        IRevisionContext revisionContext)
 {
     _databaseIntegrator = databaseIntegrator;
     _revisionContext    = revisionContext;
 }
예제 #2
0
 /// <summary>
 /// The Constructor
 /// </summary>
 /// <param name="revisionContext">A Request Scoped Revision context</param>
 /// <param name="appOptions">Application options</param>
 public RevisionActionFilter(IRevisionContext revisionContext, IApplicationOptions appOptions)
 {
     _revisionContext         = revisionContext;
     _requireRevisionMatching = appOptions.RequireRevisionMatching;
 }