public static void SubcribeConfigChangeEvent(this ICommandConfigSet configSet, HandleConfigChangeDelegate handleConfigChange) { IConfigChangeEvent event2 = configSet as IConfigChangeEvent; if (event2 != null) { event2.OnConfigChanged += handleConfigChange; } }
public static void RaiseConfigChangeEvent(this ICommandConfigSet configSet) { IConfigChangeEvent event2 = configSet as IConfigChangeEvent; if (event2 != null) { event2.RaiseConfigChangeEvent(); } }
public static void RaiseConfigChangeEvent(this ICommandConfigSet configSet) { IConfigChangeEvent hasConfigChangeEvent = configSet as IConfigChangeEvent; if (hasConfigChangeEvent == null) { return; } hasConfigChangeEvent.RaiseConfigChangeEvent(); }
public static void SubcribeConfigChangeEvent(this ICommandConfigSet configSet, HandleConfigChangeDelegate handleConfigChange) { IConfigChangeEvent hasConfigChangeEvent = configSet as IConfigChangeEvent; if (hasConfigChangeEvent == null) { return; } hasConfigChangeEvent.OnConfigChanged += handleConfigChange; }