Esempio n. 1
0
 public ChainingModification Remove <TProcessorOriginal1, TProcessorOriginal2>()
     where TProcessorOriginal1 : IProcessor
     where TProcessorOriginal2 : IProcessor
 {
     return(Remove(ProcessorMatcher.ByType <TProcessorOriginal1>(),
                   ProcessorMatcher.ByType <TProcessorOriginal2>()));
 }
Esempio n. 2
0
 public ChainingModification Remove(params Type[] types)
 {
     return(Remove(types.Select(type => ProcessorMatcher.ByType(type))));
 }
Esempio n. 3
0
 public ChainingModification Instead(Type original, IEnumerable <IProcessor> substitutes)
 {
     return(Instead(ProcessorMatcher.ByType(original), substitutes));
 }
Esempio n. 4
0
 public ChainingModification Instead <TProcessorOriginal>(IEnumerable <IProcessor> substitutes) where TProcessorOriginal : IProcessor
 {
     return(Instead(ProcessorMatcher.ByType <TProcessorOriginal>(), substitutes));
 }
Esempio n. 5
0
 public ChainingModification Before(Type original, IEnumerable <IProcessor> predecessors)
 {
     return(Before(ProcessorMatcher.ByType(original), predecessors));
 }
Esempio n. 6
0
 public ChainingModification Before <TProcessorOriginal>(IEnumerable <IProcessor> predecessors) where TProcessorOriginal : IProcessor
 {
     return(Before(ProcessorMatcher.ByType <TProcessorOriginal>(), predecessors));
 }
Esempio n. 7
0
 public ChainingModification After(Type original, IEnumerable <IProcessor> successors)
 {
     return(After(ProcessorMatcher.ByType(original), successors));
 }
Esempio n. 8
0
 public ChainingModification After <TProcessorOriginal>(IEnumerable <IProcessor> successors) where TProcessorOriginal : IProcessor
 {
     return(After(ProcessorMatcher.ByType <TProcessorOriginal>(), successors));
 }