Example #1
0
 public void Sync()
 {
     if (Listener != null)
     {
         Listener.OnSync();
     }
 }
Example #2
0
        /// <summary>
        /// Flushes the stream (subject to the NoFlush property)
        /// </summary>

        public void Sync()
        {
            if (NoFlush == false)
            {
                stream.Flush();
            }
            if (Listener != null)
            {
                Listener.OnSync();
            }
        }