示例#1
0
        private void handleConfigChange(object sender, ConfigChangeEventArgs eventArgs)
        {
            object actionDelegate;

            if (_transactions.TryGetValue(eventArgs.RequestId, out actionDelegate))
            {
                Action <bool> changeAction = actionDelegate as Action <bool>;
                changeAction(eventArgs.Succeeded);
                _transactions.Remove(eventArgs.RequestId);
            }
        }
 protected virtual void OnConfigChange(object sender, ConfigChangeEventArgs eventArgs)
 {
   ConfigChange.DispatchOnContext<ConfigChangeEventArgs>(this, EventContext, eventArgs);
 }
示例#3
0
 protected virtual void OnConfigChange(object sender, ConfigChangeEventArgs eventArgs)
 {
     ConfigChange.DispatchOnContext <ConfigChangeEventArgs>(this, EventContext, eventArgs);
 }