protected virtual void RegisterContributors(IDependencyResolver resolver) { PipelineContributorTypes.ForEach( x => resolver.AddDependency(typeof(IPipelineContributor), x, DependencyLifetime.Singleton)); }
public void AddPipelineContributor <T>() where T : IPipelineContributor { PipelineContributorTypes.Add(typeof(T)); }