using System; namespace FileHelpers { /// /// Interface used to provide In record notification of read operations. /// /// /// /// private class SampleType: INotifyRead, INotifyWrite /// { .... /// /// public void AfterRead(EngineBase engine, string line) /// { /// // Your Code Here /// } /// public void BeforeWrite(EngineBase engine) /// { /// // Your Code Here /// } /// /// } /// /// public interface INotifyRead { /// /// Method called by the engines after read a record from the source data. /// /// The engine that makes the call. /// The source line. void AfterRead(EngineBase engine, string line); } /// /// Interface used to provide In record notification of write operations. /// /// /// /// private class SampleType: INotifyRead, INotifyWrite /// { .... /// /// public void AfterRead(EngineBase engine, string line) /// { /// // Your Code Here /// } /// public void BeforeWrite(EngineBase engine) /// { /// // Your Code Here /// } /// /// } /// /// public interface INotifyWrite { /// /// Method called by the engines before write a record to the destination stream. /// /// The engine that makes the call. void BeforeWrite(EngineBase engine); } }