예제 #1
0
        public SparkBatchConfigurator For(Type controllerType)
        {
            var entry = new SparkBatchEntry {
                ControllerType = controllerType
            };

            Entries.Add(entry);
            return(new SparkBatchConfigurator(this, entry));
        }
예제 #2
0
        public SparkBatchConfigurator For(Type controllerType)
        {
            SparkBatchEntry item = new SparkBatchEntry {
                ControllerType = controllerType
            };

            this.Entries.Add(item);
            return(new SparkBatchConfigurator(this, item));
        }
 internal SparkBatchConfigurator(SparkBatchDescriptor descriptor, SparkBatchEntry entry)
 {
     this.descriptor = descriptor;
     this.entry      = entry;
 }