コード例 #1
0
 internal DdeRegistrationEventArgs(DdemlRegistrationEventArgs args)
 {
 }
コード例 #2
0
ファイル: DdeContext.cs プロジェクト: redrhino/DDEServer_cs
        private void OnUnregister(object sender, DdemlRegistrationEventArgs internalArgs)
        {
            EventHandler<DdeRegistrationEventArgs> copy;

            // To make this thread-safe we need to hold a local copy of the reference to the invocation list.  This works because delegates are
            // immutable.
            lock (_LockObject)
            {
                copy = _UnregisterEvent;
            }

            if (copy != null)
            {
                copy(this, new DdeRegistrationEventArgs(internalArgs));
            }
        }