@@ -136,21 +136,21 @@ public override Task OnDisconnectedAsync(HubConnectionContext connection)
136136 }
137137
138138 /// <inheritdoc />
139- public override Task SendAllAsync ( string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
139+ public override Task SendAllAsync ( string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
140140 {
141141 var message = _protocol . WriteInvocationAll ( methodName , args , null ) ;
142142 return PublishAsync ( MessageType . InvocationAll , message ) ;
143143 }
144144
145145 /// <inheritdoc />
146- public override Task SendAllExceptAsync ( string methodName , object ? [ ] args , IReadOnlyList < string > excludedConnectionIds , CancellationToken cancellationToken = default )
146+ public override Task SendAllExceptAsync ( string methodName , object ? [ ] ? args , IReadOnlyList < string > excludedConnectionIds , CancellationToken cancellationToken = default )
147147 {
148148 var message = _protocol . WriteInvocationAll ( methodName , args , excludedConnectionIds ) ;
149149 return PublishAsync ( MessageType . InvocationAll , message ) ;
150150 }
151151
152152 /// <inheritdoc />
153- public override Task SendConnectionAsync ( string connectionId , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
153+ public override Task SendConnectionAsync ( string connectionId , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
154154 {
155155 if ( connectionId == null )
156156 {
@@ -170,7 +170,7 @@ public override Task SendConnectionAsync(string connectionId, string methodName,
170170 }
171171
172172 /// <inheritdoc />
173- public override Task SendGroupAsync ( string groupName , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
173+ public override Task SendGroupAsync ( string groupName , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
174174 {
175175 if ( groupName == null )
176176 {
@@ -182,7 +182,7 @@ public override Task SendGroupAsync(string groupName, string methodName, object?
182182 }
183183
184184 /// <inheritdoc />
185- public override Task SendGroupExceptAsync ( string groupName , string methodName , object ? [ ] args , IReadOnlyList < string > excludedConnectionIds , CancellationToken cancellationToken = default )
185+ public override Task SendGroupExceptAsync ( string groupName , string methodName , object ? [ ] ? args , IReadOnlyList < string > excludedConnectionIds , CancellationToken cancellationToken = default )
186186 {
187187 if ( groupName == null )
188188 {
@@ -194,7 +194,7 @@ public override Task SendGroupExceptAsync(string groupName, string methodName, o
194194 }
195195
196196 /// <inheritdoc />
197- public override Task SendUserAsync ( string userId , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
197+ public override Task SendUserAsync ( string userId , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
198198 {
199199 var message = _protocol . WriteTargetedInvocation ( MessageType . InvocationUser , userId , methodName , args , null ) ;
200200 return PublishAsync ( MessageType . InvocationUser , message ) ;
@@ -247,7 +247,7 @@ public override Task RemoveFromGroupAsync(string connectionId, string groupName,
247247 }
248248
249249 /// <inheritdoc />
250- public override Task SendConnectionsAsync ( IReadOnlyList < string > connectionIds , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
250+ public override Task SendConnectionsAsync ( IReadOnlyList < string > connectionIds , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
251251 {
252252 if ( connectionIds == null )
253253 {
@@ -264,7 +264,7 @@ public override Task SendConnectionsAsync(IReadOnlyList<string> connectionIds, s
264264 }
265265
266266 /// <inheritdoc />
267- public override Task SendGroupsAsync ( IReadOnlyList < string > groupNames , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
267+ public override Task SendGroupsAsync ( IReadOnlyList < string > groupNames , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
268268 {
269269 if ( groupNames == null )
270270 {
@@ -284,7 +284,7 @@ public override Task SendGroupsAsync(IReadOnlyList<string> groupNames, string me
284284 }
285285
286286 /// <inheritdoc />
287- public override Task SendUsersAsync ( IReadOnlyList < string > userIds , string methodName , object ? [ ] args , CancellationToken cancellationToken = default )
287+ public override Task SendUsersAsync ( IReadOnlyList < string > userIds , string methodName , object ? [ ] ? args , CancellationToken cancellationToken = default )
288288 {
289289 if ( userIds . Count == 0 )
290290 {
0 commit comments