Skip to content

Commit 57e5f43

Browse files
committed
[release/5.0-rc2] Add public API baselines for Components
- part of #24347 - unable to do src/Components/Authorization due to contained `*.razor` file - ignored src/Components/Analyzers and src/Components/WebAssembly/Sdk
1 parent 956c24e commit 57e5f43

28 files changed

+1598
-0
lines changed

src/Components/Components/src/BindConverter.cs

Lines changed: 25 additions & 0 deletions
Large diffs are not rendered by default.

src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5+
using System.Diagnostics.CodeAnalysis;
56
using System.Globalization;
67
using static Microsoft.AspNetCore.Components.BindConverter;
78

@@ -31,6 +32,7 @@ public static class EventCallbackFactoryBinderExtensions
3132
/// <param name="existingValue"></param>
3233
/// <param name="culture"></param>
3334
/// <returns></returns>
35+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
3436
public static EventCallback<ChangeEventArgs> CreateBinder(
3537
this EventCallbackFactory factory,
3638
object receiver,
@@ -50,6 +52,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
5052
/// <param name="existingValue"></param>
5153
/// <param name="culture"></param>
5254
/// <returns></returns>
55+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
5356
public static EventCallback<ChangeEventArgs> CreateBinder(
5457
this EventCallbackFactory factory,
5558
object receiver,
@@ -69,6 +72,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
6972
/// <param name="existingValue"></param>
7073
/// <param name="culture"></param>
7174
/// <returns></returns>
75+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
7276
public static EventCallback<ChangeEventArgs> CreateBinder(
7377
this EventCallbackFactory factory,
7478
object receiver,
@@ -88,6 +92,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
8892
/// <param name="existingValue"></param>
8993
/// <param name="culture"></param>
9094
/// <returns></returns>
95+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
9196
public static EventCallback<ChangeEventArgs> CreateBinder(
9297
this EventCallbackFactory factory,
9398
object receiver,
@@ -107,6 +112,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
107112
/// <param name="existingValue"></param>
108113
/// <param name="culture"></param>
109114
/// <returns></returns>
115+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
110116
public static EventCallback<ChangeEventArgs> CreateBinder(
111117
this EventCallbackFactory factory,
112118
object receiver,
@@ -126,6 +132,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
126132
/// <param name="existingValue"></param>
127133
/// <param name="culture"></param>
128134
/// <returns></returns>
135+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
129136
public static EventCallback<ChangeEventArgs> CreateBinder(
130137
this EventCallbackFactory factory,
131138
object receiver,
@@ -145,6 +152,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
145152
/// <param name="existingValue"></param>
146153
/// <param name="culture"></param>
147154
/// <returns></returns>
155+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
148156
public static EventCallback<ChangeEventArgs> CreateBinder(
149157
this EventCallbackFactory factory,
150158
object receiver,
@@ -164,6 +172,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
164172
/// <param name="existingValue"></param>
165173
/// <param name="culture"></param>
166174
/// <returns></returns>
175+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
167176
public static EventCallback<ChangeEventArgs> CreateBinder(
168177
this EventCallbackFactory factory,
169178
object receiver,
@@ -183,6 +192,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
183192
/// <param name="existingValue"></param>
184193
/// <param name="culture"></param>
185194
/// <returns></returns>
195+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
186196
public static EventCallback<ChangeEventArgs> CreateBinder(
187197
this EventCallbackFactory factory,
188198
object receiver,
@@ -202,6 +212,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
202212
/// <param name="existingValue"></param>
203213
/// <param name="culture"></param>
204214
/// <returns></returns>
215+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
205216
public static EventCallback<ChangeEventArgs> CreateBinder(
206217
this EventCallbackFactory factory,
207218
object receiver,
@@ -221,6 +232,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
221232
/// <param name="existingValue"></param>
222233
/// <param name="culture"></param>
223234
/// <returns></returns>
235+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
224236
public static EventCallback<ChangeEventArgs> CreateBinder(
225237
this EventCallbackFactory factory,
226238
object receiver,
@@ -240,6 +252,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
240252
/// <param name="existingValue"></param>
241253
/// <param name="culture"></param>
242254
/// <returns></returns>
255+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
243256
public static EventCallback<ChangeEventArgs> CreateBinder(
244257
this EventCallbackFactory factory,
245258
object receiver,
@@ -259,6 +272,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
259272
/// <param name="existingValue"></param>
260273
/// <param name="culture"></param>
261274
/// <returns></returns>
275+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
262276
public static EventCallback<ChangeEventArgs> CreateBinder(
263277
this EventCallbackFactory factory,
264278
object receiver,
@@ -278,6 +292,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
278292
/// <param name="existingValue"></param>
279293
/// <param name="culture"></param>
280294
/// <returns></returns>
295+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
281296
public static EventCallback<ChangeEventArgs> CreateBinder(
282297
this EventCallbackFactory factory,
283298
object receiver,
@@ -297,6 +312,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
297312
/// <param name="existingValue"></param>
298313
/// <param name="culture"></param>
299314
/// <returns></returns>
315+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
300316
public static EventCallback<ChangeEventArgs> CreateBinder(
301317
this EventCallbackFactory factory,
302318
object receiver,
@@ -316,6 +332,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
316332
/// <param name="existingValue"></param>
317333
/// <param name="culture"></param>
318334
/// <returns></returns>
335+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
319336
public static EventCallback<ChangeEventArgs> CreateBinder(
320337
this EventCallbackFactory factory,
321338
object receiver,
@@ -336,6 +353,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
336353
/// <param name="format"></param>
337354
/// <param name="culture"></param>
338355
/// <returns></returns>
356+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
339357
public static EventCallback<ChangeEventArgs> CreateBinder(
340358
this EventCallbackFactory factory,
341359
object receiver,
@@ -356,6 +374,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
356374
/// <param name="existingValue"></param>
357375
/// <param name="culture"></param>
358376
/// <returns></returns>
377+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
359378
public static EventCallback<ChangeEventArgs> CreateBinder(
360379
this EventCallbackFactory factory,
361380
object receiver,
@@ -376,6 +395,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
376395
/// <param name="format"></param>
377396
/// <param name="culture"></param>
378397
/// <returns></returns>
398+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
379399
public static EventCallback<ChangeEventArgs> CreateBinder(
380400
this EventCallbackFactory factory,
381401
object receiver,
@@ -396,6 +416,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
396416
/// <param name="existingValue"></param>
397417
/// <param name="culture"></param>
398418
/// <returns></returns>
419+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
399420
public static EventCallback<ChangeEventArgs> CreateBinder(
400421
this EventCallbackFactory factory,
401422
object receiver,
@@ -416,6 +437,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
416437
/// <param name="format"></param>
417438
/// <param name="culture"></param>
418439
/// <returns></returns>
440+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
419441
public static EventCallback<ChangeEventArgs> CreateBinder(
420442
this EventCallbackFactory factory,
421443
object receiver,
@@ -436,6 +458,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
436458
/// <param name="existingValue"></param>
437459
/// <param name="culture"></param>
438460
/// <returns></returns>
461+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
439462
public static EventCallback<ChangeEventArgs> CreateBinder(
440463
this EventCallbackFactory factory,
441464
object receiver,
@@ -456,6 +479,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
456479
/// <param name="format"></param>
457480
/// <param name="culture"></param>
458481
/// <returns></returns>
482+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
459483
public static EventCallback<ChangeEventArgs> CreateBinder(
460484
this EventCallbackFactory factory,
461485
object receiver,
@@ -477,6 +501,7 @@ public static EventCallback<ChangeEventArgs> CreateBinder(
477501
/// <param name="existingValue"></param>
478502
/// <param name="culture"></param>
479503
/// <returns></returns>
504+
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
480505
public static EventCallback<ChangeEventArgs> CreateBinder<T>(
481506
this EventCallbackFactory factory,
482507
object receiver,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

0 commit comments

Comments
 (0)