//-> {/Example.File}
        //-> {Example.File:EventHandler.cs}
        private void BeforeEvent(EngineBase engine, BeforeReadEventArgs<OrdersFixed> e)
        {
            if (e.RecordLine.StartsWith(" ") || e.RecordLine.StartsWith("-"))
                e.SkipThisRecord = true;

            //  Sometimes changing the record line can be useful, for example to correct for
            //  a bad data layout.  Here is an example of this, commented out for this example

            //if (e.RecordLine.StartsWith(" "))
            //   e.RecordLine = "Be careful!";
        }
 private void BeforeEvent2(EngineBase sender, BeforeReadEventArgs<SampleType> e)
 {
     e.SkipThisRecord = true;
     before++;
 }
        private void BeforeEvent(EngineBase sender, BeforeReadEventArgs<SampleType> e)
        {
            if (e.RecordLine.StartsWith(" ") || e.RecordLine.StartsWith("-"))
                e.SkipThisRecord = true;

            before++;
        }
 private static void BeforeEventChange(EngineBase engine, BeforeReadEventArgs<SampleType> e)
 {
     Assert.IsFalse(e.RecordLineChanged);
     e.RecordLine = "11121314901234";
     Assert.IsTrue(e.RecordLineChanged);
 }
 public void BeforeRead(BeforeReadEventArgs e)
 {
     if (e.RecordLine.StartsWith(" ") ||
        e.RecordLine.StartsWith("-"))
         e.SkipThisRecord = true;
 }
 public void BeforeRead(BeforeReadEventArgs e)
 {
     BeforeReadNotif = true;
 }