public void RegisterProcessorModifier(ProcessorModifier processorModifier) { if (processorModifier == null) { throw new ArgumentNullException("preProcessorModifier"); } m_processorModifiers.Add(processorModifier); processorModifier.Formatter = this; }
public bool UnregisterProcessorModifier(ProcessorModifier processorModifier) { if (m_processorModifiers.Remove(processorModifier)) { processorModifier.Formatter = null; return(true); } return(false); }