public static IDebugAdapterServerRegistry OnVariables(this IDebugAdapterServerRegistry registry, Func <VariablesArguments, Task <VariablesResponse> > handler) { return(registry.AddHandler(RequestNames.Variables, RequestHandler.For(handler))); }
public static IDebugAdapterServerRegistry OnRestartFrame(this IDebugAdapterServerRegistry registry, Func <RestartFrameArguments, Task <RestartFrameResponse> > handler) { return(registry.AddHandler(RequestNames.RestartFrame, RequestHandler.For(handler))); }
public static IDebugAdapterServerRegistry OnDataBreakpointInfo(this IDebugAdapterServerRegistry registry, Func <DataBreakpointInfoArguments, Task <DataBreakpointInfoResponse> > handler) { return(registry.AddHandler(RequestNames.DataBreakpointInfo, RequestHandler.For(handler))); }