Exemple #1
0
        public FeatureContext(AppContext appContext, Feature feature)
        {
            if (appContext == null) throw new ArgumentNullException(nameof(appContext));
            if (feature == null) throw new ArgumentNullException(nameof(feature));

            this.AppContext = appContext;
            this.Feature = feature;
            this.DbContext = appContext.DbContextCreator();
        }