示例#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);
            }
        }
示例#2
0
 // Handle info from publisher
 internal abstract void HandleEnvelope(object sender, EnvelopeEventArgs e);