@tsonic/aspnetcore 10.0.2 → 10.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
  3. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
  4. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
  5. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
  6. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
  7. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
  8. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
  9. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
  10. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
  11. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
  12. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
  13. package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
  14. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
  15. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
  16. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
  17. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
  18. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
  19. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
  20. package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
  21. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
  22. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
  23. package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
  24. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
  25. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
  26. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
  27. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
  28. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
  29. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
  30. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
  31. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
  32. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
  33. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
  34. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
  35. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
  36. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
  37. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
  38. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
  39. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
  40. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
  41. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
  42. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
  43. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
  44. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
  45. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
  46. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
  47. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
  48. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
  49. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
  50. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
  51. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
  52. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
  53. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
  54. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
  55. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
  56. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
  57. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
  58. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
  59. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
  60. package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
  61. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
  62. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
  63. package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
  64. package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
  65. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
  66. package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
  67. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
  68. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
  69. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
  70. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
  71. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
  72. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
  73. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
  74. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
  75. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
  76. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
  77. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
  78. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
  79. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
  80. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
  81. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
  82. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
  83. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
  84. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
  85. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
  86. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
  87. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
  88. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
  89. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
  90. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
  91. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
  92. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
  93. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
  94. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
  95. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
  96. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
  97. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
  98. package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
  99. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
  100. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
  101. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
  102. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
  103. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
  104. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
  105. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
  106. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
  107. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
  108. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
  109. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
  110. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
  111. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
  112. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
  113. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
  114. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
  115. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
  116. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
  117. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
  118. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
  119. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
  120. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
  121. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
  122. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
  123. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
  124. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
  125. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
  126. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
  127. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
  128. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
  129. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
  130. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
  131. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
  132. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
  133. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
  134. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
  135. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
  136. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
  137. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
  138. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
  139. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
  140. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
  141. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
  142. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
  143. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
  144. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
  145. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
  146. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
  147. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
  148. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
  149. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
  150. package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
  151. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
  152. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
  153. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
  154. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
  155. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
  156. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
  157. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
  158. package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
  159. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
  160. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
  161. package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
  162. package/Microsoft.Extensions.Hosting.d.ts +3 -0
  163. package/Microsoft.JSInterop/internal/index.d.ts +95 -52
  164. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
  165. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
  166. package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
  167. package/System.Formats.Cbor/internal/index.d.ts +29 -21
  168. package/System.Security.Claims/internal/index.d.ts +3 -3
  169. package/System.Security.Claims.d.ts +3 -0
  170. package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
  171. package/__internal/extensions/index.d.ts +1776 -1190
  172. package/package.json +4 -4
@@ -9,11 +9,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
9
9
  import type { ptr } from "@tsonic/core/types.js";
10
10
 
11
11
  // Import types from other namespaces
12
- import type { IEnumerable, IEqualityComparer, KeyValuePair } from "@tsonic/dotnet/System.Collections.Generic.js";
13
- import * as System_Internal from "@tsonic/dotnet/System.js";
14
- import type { Boolean as ClrBoolean, Enum, Func, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, TimeSpan, ValueType, Void } from "@tsonic/dotnet/System.js";
15
- import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
16
- import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
12
+ import type { IEnumerable_1, IEqualityComparer_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
13
+ import type { ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
14
+ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
15
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
16
+ import type { Boolean as ClrBoolean, Enum, Func_2, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable_1, IFormattable, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
17
17
 
18
18
  export enum QueueProcessingOrder {
19
19
  OldestFirst = 0,
@@ -22,21 +22,28 @@ export enum QueueProcessingOrder {
22
22
 
23
23
 
24
24
  export interface RateLimitPartition_1$instance<TKey> {
25
- readonly Factory: Func<TKey, RateLimiter>;
25
+ readonly __tsonic_type_System_Threading_RateLimiting_RateLimitPartition_1: never;
26
+
27
+ readonly Factory: Func_2<TKey, RateLimiter>;
26
28
  readonly PartitionKey: TKey;
27
29
  }
28
30
 
29
31
 
30
32
  export const RateLimitPartition_1: {
31
- new<TKey>(partitionKey: TKey, factory: Func<TKey, RateLimiter>): RateLimitPartition_1<TKey>;
33
+ new<TKey>(partitionKey: TKey, factory: Func_2<TKey, RateLimiter>): RateLimitPartition_1<TKey>;
32
34
  };
33
35
 
34
36
 
35
37
  export type RateLimitPartition_1<TKey> = RateLimitPartition_1$instance<TKey>;
36
38
 
37
39
  export interface ConcurrencyLimiter$instance extends RateLimiter {
38
- readonly IdleDuration: Nullable<TimeSpan>;
39
- AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
40
+ readonly __tsonic_type_System_Threading_RateLimiting_ConcurrencyLimiter: never;
41
+
42
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
43
+ readonly __tsonic_iface_System_IDisposable: never;
44
+
45
+ readonly IdleDuration: Nullable_1<TimeSpan>;
46
+ AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
40
47
  AttemptAcquireCore(permitCount: int): RateLimitLease;
41
48
  Dispose(disposing: boolean): void;
42
49
  Dispose(): void;
@@ -53,6 +60,8 @@ export const ConcurrencyLimiter: {
53
60
  export type ConcurrencyLimiter = ConcurrencyLimiter$instance;
54
61
 
55
62
  export interface ConcurrencyLimiterOptions$instance {
63
+ readonly __tsonic_type_System_Threading_RateLimiting_ConcurrencyLimiterOptions: never;
64
+
56
65
  PermitLimit: int;
57
66
  QueueLimit: int;
58
67
  QueueProcessingOrder: QueueProcessingOrder;
@@ -67,10 +76,15 @@ export const ConcurrencyLimiterOptions: {
67
76
  export type ConcurrencyLimiterOptions = ConcurrencyLimiterOptions$instance;
68
77
 
69
78
  export interface FixedWindowRateLimiter$instance extends ReplenishingRateLimiter {
70
- readonly IdleDuration: Nullable<TimeSpan>;
79
+ readonly __tsonic_type_System_Threading_RateLimiting_FixedWindowRateLimiter: never;
80
+
81
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
82
+ readonly __tsonic_iface_System_IDisposable: never;
83
+
84
+ readonly IdleDuration: Nullable_1<TimeSpan>;
71
85
  readonly IsAutoReplenishing: boolean;
72
86
  readonly ReplenishmentPeriod: TimeSpan;
73
- AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
87
+ AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
74
88
  AttemptAcquireCore(permitCount: int): RateLimitLease;
75
89
  Dispose(disposing: boolean): void;
76
90
  Dispose(): void;
@@ -88,6 +102,8 @@ export const FixedWindowRateLimiter: {
88
102
  export type FixedWindowRateLimiter = FixedWindowRateLimiter$instance;
89
103
 
90
104
  export interface FixedWindowRateLimiterOptions$instance {
105
+ readonly __tsonic_type_System_Threading_RateLimiting_FixedWindowRateLimiterOptions: never;
106
+
91
107
  AutoReplenishment: boolean;
92
108
  PermitLimit: int;
93
109
  QueueLimit: int;
@@ -104,6 +120,10 @@ export const FixedWindowRateLimiterOptions: {
104
120
  export type FixedWindowRateLimiterOptions = FixedWindowRateLimiterOptions$instance;
105
121
 
106
122
  export interface MetadataName_1$instance<T> {
123
+ readonly __tsonic_type_System_Threading_RateLimiting_MetadataName_1: never;
124
+
125
+ readonly __tsonic_iface_System_IEquatable_1: never;
126
+
107
127
  readonly Name: string;
108
128
  Equals(obj: unknown): boolean;
109
129
  Equals(other: MetadataName_1<T>): boolean;
@@ -120,8 +140,13 @@ export const MetadataName_1: {
120
140
  export type MetadataName_1<T> = MetadataName_1$instance<T>;
121
141
 
122
142
  export interface PartitionedRateLimiter_1$instance<TResource> {
123
- AcquireAsync(resource: TResource, permitCount?: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
124
- AcquireAsyncCore(resource: TResource, permitCount: int, cancellationToken: CancellationToken): ValueTask<RateLimitLease>;
143
+ readonly __tsonic_type_System_Threading_RateLimiting_PartitionedRateLimiter_1: never;
144
+
145
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
146
+ readonly __tsonic_iface_System_IDisposable: never;
147
+
148
+ AcquireAsync(resource: TResource, permitCount?: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
149
+ AcquireAsyncCore(resource: TResource, permitCount: int, cancellationToken: CancellationToken): ValueTask_1<RateLimitLease>;
125
150
  AttemptAcquire(resource: TResource, permitCount?: int): RateLimitLease;
126
151
  AttemptAcquireCore(resource: TResource, permitCount: int): RateLimitLease;
127
152
  Dispose(disposing: boolean): void;
@@ -129,7 +154,7 @@ export interface PartitionedRateLimiter_1$instance<TResource> {
129
154
  DisposeAsync(): ValueTask;
130
155
  DisposeAsyncCore(): ValueTask;
131
156
  GetStatistics(resource: TResource): RateLimiterStatistics | undefined;
132
- WithTranslatedKey<TOuter>(keyAdapter: Func<TOuter, TResource>, leaveOpen: boolean): PartitionedRateLimiter_1<TOuter>;
157
+ WithTranslatedKey<TOuter>(keyAdapter: Func_2<TOuter, TResource>, leaveOpen: boolean): PartitionedRateLimiter_1<TOuter>;
133
158
  }
134
159
 
135
160
 
@@ -140,9 +165,14 @@ export const PartitionedRateLimiter_1: (abstract new<TResource>() => Partitioned
140
165
  export type PartitionedRateLimiter_1<TResource> = PartitionedRateLimiter_1$instance<TResource>;
141
166
 
142
167
  export interface RateLimiter$instance {
143
- readonly IdleDuration: Nullable<TimeSpan>;
144
- AcquireAsync(permitCount?: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
145
- AcquireAsyncCore(permitCount: int, cancellationToken: CancellationToken): ValueTask<RateLimitLease>;
168
+ readonly __tsonic_type_System_Threading_RateLimiting_RateLimiter: never;
169
+
170
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
171
+ readonly __tsonic_iface_System_IDisposable: never;
172
+
173
+ readonly IdleDuration: Nullable_1<TimeSpan>;
174
+ AcquireAsync(permitCount?: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
175
+ AcquireAsyncCore(permitCount: int, cancellationToken: CancellationToken): ValueTask_1<RateLimitLease>;
146
176
  AttemptAcquire(permitCount?: int): RateLimitLease;
147
177
  AttemptAcquireCore(permitCount: int): RateLimitLease;
148
178
  Dispose(disposing: boolean): void;
@@ -161,6 +191,8 @@ export const RateLimiter: (abstract new() => RateLimiter) & {
161
191
  export type RateLimiter = RateLimiter$instance;
162
192
 
163
193
  export interface RateLimiterStatistics$instance {
194
+ readonly __tsonic_type_System_Threading_RateLimiting_RateLimiterStatistics: never;
195
+
164
196
  CurrentAvailablePermits: long;
165
197
  CurrentQueuedCount: long;
166
198
  TotalFailedLeases: long;
@@ -176,11 +208,15 @@ export const RateLimiterStatistics: {
176
208
  export type RateLimiterStatistics = RateLimiterStatistics$instance;
177
209
 
178
210
  export interface RateLimitLease$instance {
211
+ readonly __tsonic_type_System_Threading_RateLimiting_RateLimitLease: never;
212
+
213
+ readonly __tsonic_iface_System_IDisposable: never;
214
+
179
215
  readonly IsAcquired: boolean;
180
- readonly MetadataNames: IEnumerable<System_Internal.String>;
216
+ readonly MetadataNames: IEnumerable_1<System_Internal.String>;
181
217
  Dispose(): void;
182
218
  Dispose(disposing: boolean): void;
183
- GetAllMetadata(): IEnumerable<KeyValuePair<System_Internal.String, unknown>>;
219
+ GetAllMetadata(): IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
184
220
  TryGetMetadata(metadataName: string, metadata: unknown): boolean;
185
221
  TryGetMetadata<T>(metadataName: MetadataName_1<T>, metadata: T): boolean;
186
222
  }
@@ -193,6 +229,11 @@ export const RateLimitLease: (abstract new() => RateLimitLease) & {
193
229
  export type RateLimitLease = RateLimitLease$instance;
194
230
 
195
231
  export interface ReplenishingRateLimiter$instance extends RateLimiter {
232
+ readonly __tsonic_type_System_Threading_RateLimiting_ReplenishingRateLimiter: never;
233
+
234
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
235
+ readonly __tsonic_iface_System_IDisposable: never;
236
+
196
237
  readonly IsAutoReplenishing: boolean;
197
238
  readonly ReplenishmentPeriod: TimeSpan;
198
239
  TryReplenish(): boolean;
@@ -206,10 +247,15 @@ export const ReplenishingRateLimiter: (abstract new() => ReplenishingRateLimiter
206
247
  export type ReplenishingRateLimiter = ReplenishingRateLimiter$instance;
207
248
 
208
249
  export interface SlidingWindowRateLimiter$instance extends ReplenishingRateLimiter {
209
- readonly IdleDuration: Nullable<TimeSpan>;
250
+ readonly __tsonic_type_System_Threading_RateLimiting_SlidingWindowRateLimiter: never;
251
+
252
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
253
+ readonly __tsonic_iface_System_IDisposable: never;
254
+
255
+ readonly IdleDuration: Nullable_1<TimeSpan>;
210
256
  readonly IsAutoReplenishing: boolean;
211
257
  readonly ReplenishmentPeriod: TimeSpan;
212
- AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
258
+ AcquireAsyncCore(permitCount: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
213
259
  AttemptAcquireCore(permitCount: int): RateLimitLease;
214
260
  Dispose(disposing: boolean): void;
215
261
  Dispose(): void;
@@ -227,6 +273,8 @@ export const SlidingWindowRateLimiter: {
227
273
  export type SlidingWindowRateLimiter = SlidingWindowRateLimiter$instance;
228
274
 
229
275
  export interface SlidingWindowRateLimiterOptions$instance {
276
+ readonly __tsonic_type_System_Threading_RateLimiting_SlidingWindowRateLimiterOptions: never;
277
+
230
278
  AutoReplenishment: boolean;
231
279
  PermitLimit: int;
232
280
  QueueLimit: int;
@@ -244,10 +292,15 @@ export const SlidingWindowRateLimiterOptions: {
244
292
  export type SlidingWindowRateLimiterOptions = SlidingWindowRateLimiterOptions$instance;
245
293
 
246
294
  export interface TokenBucketRateLimiter$instance extends ReplenishingRateLimiter {
247
- readonly IdleDuration: Nullable<TimeSpan>;
295
+ readonly __tsonic_type_System_Threading_RateLimiting_TokenBucketRateLimiter: never;
296
+
297
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
298
+ readonly __tsonic_iface_System_IDisposable: never;
299
+
300
+ readonly IdleDuration: Nullable_1<TimeSpan>;
248
301
  readonly IsAutoReplenishing: boolean;
249
302
  readonly ReplenishmentPeriod: TimeSpan;
250
- AcquireAsyncCore(tokenCount: int, cancellationToken?: CancellationToken): ValueTask<RateLimitLease>;
303
+ AcquireAsyncCore(tokenCount: int, cancellationToken?: CancellationToken): ValueTask_1<RateLimitLease>;
251
304
  AttemptAcquireCore(tokenCount: int): RateLimitLease;
252
305
  Dispose(disposing: boolean): void;
253
306
  Dispose(): void;
@@ -265,6 +318,8 @@ export const TokenBucketRateLimiter: {
265
318
  export type TokenBucketRateLimiter = TokenBucketRateLimiter$instance;
266
319
 
267
320
  export interface TokenBucketRateLimiterOptions$instance {
321
+ readonly __tsonic_type_System_Threading_RateLimiting_TokenBucketRateLimiterOptions: never;
322
+
268
323
  AutoReplenishment: boolean;
269
324
  QueueLimit: int;
270
325
  QueueProcessingOrder: QueueProcessingOrder;
@@ -291,7 +346,7 @@ export abstract class MetadataName$instance {
291
346
  export type MetadataName = MetadataName$instance;
292
347
 
293
348
  export abstract class PartitionedRateLimiter$instance {
294
- static Create<TResource, TPartitionKey>(partitioner: Func<TResource, RateLimitPartition_1<TPartitionKey>>, equalityComparer?: IEqualityComparer<TPartitionKey>): PartitionedRateLimiter_1<TResource>;
349
+ static Create<TResource, TPartitionKey>(partitioner: Func_2<TResource, RateLimitPartition_1<TPartitionKey>>, equalityComparer?: IEqualityComparer_1<TPartitionKey>): PartitionedRateLimiter_1<TResource>;
295
350
  static CreateChained<TResource>(...limiters: PartitionedRateLimiter_1<TResource>[]): PartitionedRateLimiter_1<TResource>;
296
351
  }
297
352
 
@@ -299,12 +354,12 @@ export abstract class PartitionedRateLimiter$instance {
299
354
  export type PartitionedRateLimiter = PartitionedRateLimiter$instance;
300
355
 
301
356
  export abstract class RateLimitPartition$instance {
302
- static Get<TKey>(partitionKey: TKey, factory: Func<TKey, RateLimiter>): RateLimitPartition_1<TKey>;
303
- static GetConcurrencyLimiter<TKey>(partitionKey: TKey, factory: Func<TKey, ConcurrencyLimiterOptions>): RateLimitPartition_1<TKey>;
304
- static GetFixedWindowLimiter<TKey>(partitionKey: TKey, factory: Func<TKey, FixedWindowRateLimiterOptions>): RateLimitPartition_1<TKey>;
357
+ static Get<TKey>(partitionKey: TKey, factory: Func_2<TKey, RateLimiter>): RateLimitPartition_1<TKey>;
358
+ static GetConcurrencyLimiter<TKey>(partitionKey: TKey, factory: Func_2<TKey, ConcurrencyLimiterOptions>): RateLimitPartition_1<TKey>;
359
+ static GetFixedWindowLimiter<TKey>(partitionKey: TKey, factory: Func_2<TKey, FixedWindowRateLimiterOptions>): RateLimitPartition_1<TKey>;
305
360
  static GetNoLimiter<TKey>(partitionKey: TKey): RateLimitPartition_1<TKey>;
306
- static GetSlidingWindowLimiter<TKey>(partitionKey: TKey, factory: Func<TKey, SlidingWindowRateLimiterOptions>): RateLimitPartition_1<TKey>;
307
- static GetTokenBucketLimiter<TKey>(partitionKey: TKey, factory: Func<TKey, TokenBucketRateLimiterOptions>): RateLimitPartition_1<TKey>;
361
+ static GetSlidingWindowLimiter<TKey>(partitionKey: TKey, factory: Func_2<TKey, SlidingWindowRateLimiterOptions>): RateLimitPartition_1<TKey>;
362
+ static GetTokenBucketLimiter<TKey>(partitionKey: TKey, factory: Func_2<TKey, TokenBucketRateLimiterOptions>): RateLimitPartition_1<TKey>;
308
363
  }
309
364
 
310
365