Mono.Linker.Pipeline.ReplaceStep C# (CSharp) Méthode

ReplaceStep() public méthode

public ReplaceStep ( Type target, IStep step ) : void
target System.Type
step IStep
Résultat void
		public void ReplaceStep (Type target, IStep step)
		{
			AddStepBefore (target, step);
			RemoveStep (target);
		}

Usage Example

		protected override void CustomizePipeline (Pipeline pipeline)
		{
			pipeline.ReplaceStep (typeof (MarkStep), new MoonlightA11yApiMarker ());
			pipeline.ReplaceStep (typeof (SweepStep), new MoonlightA11yDescriptorGenerator ());
			pipeline.RemoveStep (typeof (LoadI18nAssemblies));
			pipeline.RemoveStep (typeof (CleanStep));
			pipeline.RemoveStep (typeof (RegenerateGuidStep));
			pipeline.RemoveStep (typeof (OutputStep));
		}