コード例 #1
0
        // Constructor for a RoutedEvent (is internal
        // to the EventManager and is onvoked when a new
        // RoutedEvent is registered)
        internal RoutedEvent(
            string name,
            RoutingStrategy routingStrategy,
            Type handlerType,
            Type ownerType)
        {
            _name            = name;
            _routingStrategy = routingStrategy;
            _handlerType     = handlerType;
            _ownerType       = ownerType;

            _globalIndex = GlobalEventManager.GetNextAvailableGlobalIndex(this);
        }
コード例 #2
0
 /// <summary>
 ///     Constructor for EventPrivateKey
 /// </summary>
 public EventPrivateKey()
 {
     _globalIndex = GlobalEventManager.GetNextAvailableGlobalIndex(this);
 }