예제 #1
0
        public static void SubcribeConfigChangeEvent(this ICommandConfigSet configSet, HandleConfigChangeDelegate handleConfigChange)
        {
            IConfigChangeEvent event2 = configSet as IConfigChangeEvent;

            if (event2 != null)
            {
                event2.OnConfigChanged += handleConfigChange;
            }
        }
예제 #2
0
        public static void RaiseConfigChangeEvent(this ICommandConfigSet configSet)
        {
            IConfigChangeEvent event2 = configSet as IConfigChangeEvent;

            if (event2 != null)
            {
                event2.RaiseConfigChangeEvent();
            }
        }
예제 #3
0
        public static void RaiseConfigChangeEvent(this ICommandConfigSet configSet)
        {
            IConfigChangeEvent hasConfigChangeEvent = configSet as IConfigChangeEvent;

            if (hasConfigChangeEvent == null)
            {
                return;
            }

            hasConfigChangeEvent.RaiseConfigChangeEvent();
        }
예제 #4
0
        public static void SubcribeConfigChangeEvent(this ICommandConfigSet configSet, HandleConfigChangeDelegate handleConfigChange)
        {
            IConfigChangeEvent hasConfigChangeEvent = configSet as IConfigChangeEvent;

            if (hasConfigChangeEvent == null)
            {
                return;
            }

            hasConfigChangeEvent.OnConfigChanged += handleConfigChange;
        }