1 write to Arguments
Microsoft.AspNetCore.SignalR.Common (1)
140 references to Arguments
Microsoft.AspNetCore.Components.Server (6)
Microsoft.AspNetCore.Components.Server.Tests (6)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.AspNetCore.SignalR.Common (6)
Protocol\HubMethodInvocationMessage.cs (6)
104args = Arguments == null ? string.Empty : string.Join(", ", Arguments.Select(a => a?.ToString()));
120return $"InvocationMessage {{ {nameof(InvocationId)}: \"{InvocationId}\", {nameof(Target)}: \"{Target}\", {nameof(Arguments)}: [ {args} ], {nameof(StreamIds)}: [ {streamIds} ] }}";
159args = Arguments == null ? string.Empty : string.Join(", ", Arguments.Select(a => a?.ToString()));
175return $"StreamInvocation {{ {nameof(InvocationId)}: \"{InvocationId}\", {nameof(Target)}: \"{Target}\", {nameof(Arguments)}: [ {args} ], {nameof(StreamIds)}: [ {streamIds} ] }}";
Microsoft.AspNetCore.SignalR.Common.Tests (10)
Microsoft.AspNetCore.SignalR.Core (6)
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (6)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (20)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
Microsoft.AspNetCore.SignalR.Tests (67)
HubConnectionHandlerTests.cs (43)
1391Assert.Single(invocation.Arguments);
1392Assert.Equal("test", invocation.Arguments[0]);
1429Assert.Single(invocation.Arguments);
1430var values = ((JArray)invocation.Arguments[0]).Select(t => t.Value<int>()).ToArray();
1464Assert.Equal("To others", invocation.Arguments[0]);
1473Assert.Equal("To everyone", invocation.Arguments[0]);
1505Assert.Equal("To caller", invocation.Arguments[0]);
1511Assert.Equal("To everyone", invocation.Arguments[0]);
1576Assert.Equal("To second", invocation.Arguments[0]);
1581Assert.Equal("To third", invocation.Arguments[0]);
1619Assert.Equal("Second and Third", invocation.Arguments[0]);
1624Assert.Equal("Second and Third", invocation.Arguments[0]);
1664Assert.Equal("Second and Third", invocation.Arguments[0]);
1669Assert.Equal("Second and Third", invocation.Arguments[0]);
1718Assert.Single(invocation.Arguments);
1719Assert.Equal("test", invocation.Arguments[0]);
1765Assert.Single(invocation.Arguments);
1766Assert.Equal("test", invocation.Arguments[0]);
1816Assert.Single(invocation.Arguments);
1817Assert.Equal("test", invocation.Arguments[0]);
1859Assert.Single(invocation.Arguments);
1860Assert.Equal("test", invocation.Arguments[0]);
1865Assert.Single(invocation.Arguments);
1866Assert.Equal("test", invocation.Arguments[0]);
1922Assert.Single(invocation.Arguments);
1923Assert.Equal("test", invocation.Arguments[0]);
1956Assert.Single(invocation.Arguments);
1957Assert.Equal("test", invocation.Arguments[0]);
1989Assert.Single(invocation.Arguments);
1990Assert.Equal("test", invocation.Arguments[0]);
2148Assert.Equal(sentMessage, completion1.Arguments[0]);
2152Assert.Equal(sentMessage, completion2.Arguments[0].ToString());
2399var customItem = message.Arguments[0].ToString();
2429var customItem = message.Arguments[0].ToString();
2469var result = message.Arguments[0] as Dictionary<object, object>;
2566Assert.Collection(message.Arguments, arg => Assert.Equal("Hi!", arg));
4527Assert.Equal("message", message.Arguments[0]);
4553Assert.Single(invocation.Arguments);
4554Assert.Equal("test", invocation.Arguments[0]);
4643Assert.Single(invocation.Arguments);
4644Assert.Equal("test", invocation.Arguments[0]);
5104Assert.Single(message.Arguments);
5105Assert.Equal(1L, message.Arguments[0]);