public void RemoveMessageHandler(ProcessMessageBridgeHandler handler) { if (MessageHandlers.Contains(handler)) { MessageHandlers.Remove(handler); } }
public static ApplicationConfigurationBuilder UseProcessMessageBridgeHandler(this ApplicationConfigurationBuilder @this, Browser.ProcessMessageBridge.ProcessMessageBridgeHandler handler) { @this.Container.RegisterInstance(handler); return(@this); }
public void AddMessageHandler(ProcessMessageBridgeHandler handler) { handler.BrowserSideBridge = this; handler.ProcessType = CefProcessId.Browser; MessageHandlers.Add(handler); }