Mono.Linker.Pipeline.RemoveStep C# (CSharp) Method

RemoveStep() public method

public RemoveStep ( Type target ) : void
target System.Type
return void
		public void RemoveStep (Type target)
		{
			for (int i = 0; i < _steps.Count; i++) {
				if (_steps [i].GetType () != target)
					continue;

				_steps.RemoveAt (i);
				break;
			}
		}

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));
		}
All Usage Examples Of Mono.Linker.Pipeline::RemoveStep