Implemented interface member:
9 references to Count
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
611
Assert.Equal(2, signingKeys.
Count
);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
52
return jsonArray.
Count
;
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonUtilities.Schema.Create.cs (2)
293
if (required is not JsonArray { } requiredArray || requiredArray.
Count
!= propertiesObj.Count)
393
if (ctx.TypeInfo.NumberHandling is not JsonNumberHandling.Strict && schema["type"] is JsonArray {
Count
: 2 } typeArray)
Utilities\AIJsonUtilities.Schema.Transform.cs (1)
106
for (int i = 0; i < combinatorArray.
Count
; i++)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
757
Assert.Equal(((JsonArray)schemaObj["required"]!).
Count
, ((JsonObject)props!).Count);
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (2)
75
/// <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="
Count
"/>.
108
/// <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="
Count
"/>.
System\Text\Json\Nodes\JsonObject.cs (1)
349
return $"{PropertyName} = JsonArray[{jsonArray.
Count
}]";