Exemple #1
0
        public NestedResourceConfig(
            IEntityConfig <TParenModel> parent,
            NestedResourceStrategy <TModel, TParenModel> strategy,
            string name,
            Func <IEngine, TModel> createModel,
            IEnumerable <IEntityConfig> dependencies)
        {
            Parent        = parent;
            Strategy      = strategy;
            Name          = name;
            CreateModel   = createModel;
            _Dependencies = dependencies;

            parent.AddNested(this);
        }