@@ -28,12 +28,12 @@ public DebugAdapterClient(ChannelBase clientChannel, ILogger logger)
28
28
logger ) ;
29
29
}
30
30
31
- public async Task Start ( )
31
+ public async Task StartAsync ( )
32
32
{
33
33
this . protocolEndpoint . Start ( ) ;
34
34
35
35
// Initialize the debug adapter
36
- await this . SendRequest (
36
+ await this . SendRequestAsync (
37
37
InitializeRequest . Type ,
38
38
new InitializeRequestArguments
39
39
{
@@ -48,34 +48,34 @@ public void Stop()
48
48
this . protocolEndpoint . Stop ( ) ;
49
49
}
50
50
51
- public async Task LaunchScript ( string scriptFilePath )
51
+ public async Task LaunchScriptAsync ( string scriptFilePath )
52
52
{
53
- await this . SendRequest (
53
+ await this . SendRequestAsync (
54
54
LaunchRequest . Type ,
55
55
new LaunchRequestArguments {
56
56
Script = scriptFilePath
57
57
} ,
58
58
true ) ;
59
59
60
- await this . SendRequest (
60
+ await this . SendRequestAsync (
61
61
ConfigurationDoneRequest . Type ,
62
62
null ,
63
63
true ) ;
64
64
}
65
65
66
- public Task SendEvent < TParams , TRegistrationOptions > ( NotificationType < TParams , TRegistrationOptions > eventType , TParams eventParams )
66
+ public Task SendEventAsync < TParams , TRegistrationOptions > ( NotificationType < TParams , TRegistrationOptions > eventType , TParams eventParams )
67
67
{
68
- return ( ( IMessageSender ) protocolEndpoint ) . SendEvent ( eventType , eventParams ) ;
68
+ return ( ( IMessageSender ) protocolEndpoint ) . SendEventAsync ( eventType , eventParams ) ;
69
69
}
70
70
71
- public Task < TResult > SendRequest < TParams , TResult , TError , TRegistrationOptions > ( RequestType < TParams , TResult , TError , TRegistrationOptions > requestType , TParams requestParams , bool waitForResponse )
71
+ public Task < TResult > SendRequestAsync < TParams , TResult , TError , TRegistrationOptions > ( RequestType < TParams , TResult , TError , TRegistrationOptions > requestType , TParams requestParams , bool waitForResponse )
72
72
{
73
- return ( ( IMessageSender ) protocolEndpoint ) . SendRequest ( requestType , requestParams , waitForResponse ) ;
73
+ return ( ( IMessageSender ) protocolEndpoint ) . SendRequestAsync ( requestType , requestParams , waitForResponse ) ;
74
74
}
75
75
76
- public Task < TResult > SendRequest < TResult , TError , TRegistrationOptions > ( RequestType0 < TResult , TError , TRegistrationOptions > requestType0 )
76
+ public Task < TResult > SendRequestAsync < TResult , TError , TRegistrationOptions > ( RequestType0 < TResult , TError , TRegistrationOptions > requestType0 )
77
77
{
78
- return ( ( IMessageSender ) protocolEndpoint ) . SendRequest ( requestType0 ) ;
78
+ return ( ( IMessageSender ) protocolEndpoint ) . SendRequestAsync ( requestType0 ) ;
79
79
}
80
80
81
81
public void SetRequestHandler < TParams , TResult , TError , TRegistrationOptions > ( RequestType < TParams , TResult , TError , TRegistrationOptions > requestType , Func < TParams , RequestContext < TResult > , Task > requestHandler )
0 commit comments