Exemplo n.º 1
0
        protected virtual void OnRaiseEnvelopeEvent(EnvelopeEventArgs e)
        {
            // copy to avoid any chance of race condition
            EventHandler <EnvelopeEventArgs> callEvent = RaiseCustomEvent;

            if (callEvent != null)
            {
                callEvent(this, e);
            }
        }
Exemplo n.º 2
0
 // Handle info from publisher
 internal abstract void HandleEnvelope(object sender, EnvelopeEventArgs e);