internal SliceConfigurationCollection(ILogger logger, Services services) { _logger = logger; _services = services; _visitor = new SchemaVisitor(); _partitions = new List <FeaturePartition>(); }
public PartitionSchemaRegister(string partitionName, SchemaVisitor visitor, Predicate <ISchema> filter, Services services) { _partitionName = partitionName; _visitor = visitor; _filter = filter; _services = services; _schemas = new Dictionary <Type, ISchema[]>(); AddSchema(services.GetSchemaRegister <IAggregateSchema>()) .AddSchema(services.GetSchemaRegister <IProjectionSchema>()) .AddSchema(services.GetSchemaRegister <IProcessorSchema>()) .AddSchema(services.GetSchemaRegister <IQuerySchema>()) .AddSchema(services.GetSchemaRegister <IClientCommandSchema>()); }