コード例 #1
0
 internal BaseEntityInfoBuilder(
     IEntityTypeExtractor <TEntityImplementation> typeExtractor,
     IEntityFullNameExtractor <TEntityImplementation> fullNameExtractor,
     IValidator <TEntityImplementation> validator,
     IMetaInfoPool <TEntityImplementation, EntityInfo> entityInfoPool)
 {
     this.typeExtractor     = typeExtractor;
     this.fullNameExtractor = fullNameExtractor;
     this.validator         = validator;
     this.entityInfoPool    = entityInfoPool;
 }
コード例 #2
0
 internal BaseSeedBucketInfoBuilder(
     ITypeExtractor <TSeedBucketImplementation> typeExtractor,
     IFullNameExtractor <TSeedBucketImplementation> fullNameExtractor,
     IFriendlyNameExtractor <TSeedBucketImplementation> friendlyNameExtractor,
     IDescriptionExtractor <TSeedBucketImplementation> descriptionExtractor,
     IContainedSeedablesExtractor <TSeedBucketImplementation> seedablesExtractor,
     Func <ISeedBucketInfoBuilder <TSeedBucketImplementation>, ISeedBucketOfSeedableExtractor <TSeedableImplementation> > seedBucketOfSeedableExtractorFactory,
     IMetaInfoPool <TSeedBucketImplementation, SeedBucketInfo> seedBucketInfoPool)
 {
     this.typeExtractor            = typeExtractor;
     this.fullNameExtractor        = fullNameExtractor;
     this.friendlyNameExtractor    = friendlyNameExtractor;
     this.descriptionExtractor     = descriptionExtractor;
     this.seedablesExtractor       = seedablesExtractor;
     seedBucketOfSeedableExtractor = seedBucketOfSeedableExtractorFactory(this);
     this.seedBucketInfoPool       = seedBucketInfoPool;
 }
コード例 #3
0
 internal BaseSeedableInfoBuilder(
     ITypeExtractor <TSeedableImplementation> typeExtractor,
     IFullNameExtractor <TSeedableImplementation> fullNameExtractor,
     IFriendlyNameExtractor <TSeedableImplementation> friendlyNameExtractor,
     IDescriptionExtractor <TSeedableImplementation> descriptionExtractor,
     ISeedEntitiesExtractor <TSeedableImplementation> entitiesExtractor,
     ISeedProvidedYieldExtractor <TSeedableImplementation> providedYieldExtractor,
     Func <ISeedableInfoBuilder <TSeedableImplementation>, IExplicitlyRequiredSeedablesExtractor <TSeedableImplementation> > explicitlyRequiredSeedablesExtractorFactory,
     Func <ISeedableInfoBuilder <TSeedableImplementation>, ISeedRequiredYieldsExtractor <TSeedableImplementation> > requiredYieldsExtractorFactory,
     IMetaInfoPool <TSeedableImplementation, SeedableInfo> seedableInfoPool)
 {
     this.typeExtractor                   = typeExtractor;
     this.fullNameExtractor               = fullNameExtractor;
     this.friendlyNameExtractor           = friendlyNameExtractor;
     this.descriptionExtractor            = descriptionExtractor;
     this.entitiesExtractor               = entitiesExtractor;
     this.providedYieldExtractor          = providedYieldExtractor;
     explicitlyRequiredSeedablesExtractor = explicitlyRequiredSeedablesExtractorFactory(this);
     requiredYieldsExtractor              = requiredYieldsExtractorFactory(this);
     this.seedableInfoPool                = seedableInfoPool;
 }