public void RegisterCustomMessages(ICustomMessageRegistry registry, IProtocolHostOperations hostOperations)
        {
            // Register our custom request
            registry.RegisterClientRequestType <PromptRequest, PromptArgs, PromptResponse>(this.OnPromptRequest);

            // Advertise support for the custom request
            registry.SetInitializeRequestProperty("supportsPromptRequest", true);
        }
 public void RegisterCustomMessages(ICustomMessageRegistry registry, IProtocolHostOperations hostOperations)
 {
     _hostOperations = hostOperations;
 }