public void AddProcessor(ITfsProcessingContext processor) { processors.Add(processor); }
public void AddProcessor <TProcessor>() { ITfsProcessingContext pc = (ITfsProcessingContext)Activator.CreateInstance(typeof(TProcessor), new object[] { this }); AddProcessor(pc); }