Skip to content

Commit 6421c41

Browse files
Ryan Nowakrynowak
Ryan Nowak
authored andcommitted
Update refs
1 parent f00a6e9 commit 6421c41

6 files changed

+134
-19
lines changed

eng/GenAPI.exclusions.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,5 @@ T:Microsoft.AspNetCore.Components.AuthorizeView
88
T:Microsoft.AspNetCore.Components.AuthorizeViewCore
99
T:Microsoft.AspNetCore.Components.CascadingAuthenticationState
1010
T:Microsoft.AspNetCore.Components.CascadingValue`1
11-
T:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator
12-
T:Microsoft.AspNetCore.Components.Forms.EditForm
13-
T:Microsoft.AspNetCore.Components.Forms.InputBase`1
14-
T:Microsoft.AspNetCore.Components.Forms.InputCheckbox
15-
T:Microsoft.AspNetCore.Components.Forms.InputDate`1
16-
T:Microsoft.AspNetCore.Components.Forms.InputNumber`1
17-
T:Microsoft.AspNetCore.Components.Forms.InputSelect`1
18-
T:Microsoft.AspNetCore.Components.Forms.InputText
19-
T:Microsoft.AspNetCore.Components.Forms.InputTextArea
20-
T:Microsoft.AspNetCore.Components.Forms.ValidationMessage`1
21-
T:Microsoft.AspNetCore.Components.Forms.ValidationSummary
2211
T:Microsoft.AspNetCore.Components.PageDisplay
23-
T:Microsoft.AspNetCore.Components.Routing.NavLink
2412
T:Microsoft.AspNetCore.Components.Routing.Router

src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ public static partial class RuntimeHelpers
343343
}
344344
namespace Microsoft.AspNetCore.Components.Forms
345345
{
346+
public partial class DataAnnotationsValidator : Microsoft.AspNetCore.Components.ComponentBase
347+
{
348+
public DataAnnotationsValidator() { }
349+
protected override void OnInitialized() { }
350+
}
346351
public sealed partial class EditContext
347352
{
348353
public EditContext(object model) { }

src/Components/Components/src/RenderTree/RenderTreeBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ public void AddComponentReferenceCapture(int sequence, Action<object> componentR
623623
/// Appends a frame representing a region of frames.
624624
/// </summary>
625625
/// <param name="sequence">An integer that represents the position of the instruction in the source code.</param>
626-
public void OpenRegion(int sequence)
626+
public void OpenRegion(int sequence)
627627
{
628628
_openElementIndices.Push(_entries.Count);
629629
Append(RenderTreeFrame.Region(sequence));

src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.netstandard2.0.cs

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,131 @@ public static partial class EditContextFieldClassExtensions
279279
public static string FieldClass(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) { throw null; }
280280
public static string FieldClass<TField>(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.Linq.Expressions.Expression<System.Func<TField>> accessor) { throw null; }
281281
}
282+
public partial class EditForm : Microsoft.AspNetCore.Components.ComponentBase
283+
{
284+
public EditForm() { }
285+
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
286+
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
287+
[Microsoft.AspNetCore.Components.ParameterAttribute]
288+
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Forms.EditContext> ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
289+
[Microsoft.AspNetCore.Components.ParameterAttribute]
290+
public Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
291+
[Microsoft.AspNetCore.Components.ParameterAttribute]
292+
public object Model { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
293+
[Microsoft.AspNetCore.Components.ParameterAttribute]
294+
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnInvalidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
295+
[Microsoft.AspNetCore.Components.ParameterAttribute]
296+
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
297+
[Microsoft.AspNetCore.Components.ParameterAttribute]
298+
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnValidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
299+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
300+
protected override void OnParametersSet() { }
301+
}
302+
public abstract partial class InputBase<T> : Microsoft.AspNetCore.Components.ComponentBase
303+
{
304+
protected InputBase() { }
305+
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
306+
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
307+
protected string CssClass { get { throw null; } }
308+
protected T CurrentValue { get { throw null; } set { } }
309+
protected string CurrentValueAsString { get { throw null; } set { } }
310+
protected Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
311+
protected string FieldClass { get { throw null; } }
312+
protected Microsoft.AspNetCore.Components.Forms.FieldIdentifier FieldIdentifier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
313+
[Microsoft.AspNetCore.Components.ParameterAttribute]
314+
public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
315+
[Microsoft.AspNetCore.Components.ParameterAttribute]
316+
public Microsoft.AspNetCore.Components.EventCallback<T> ValueChanged { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
317+
[Microsoft.AspNetCore.Components.ParameterAttribute]
318+
public System.Linq.Expressions.Expression<System.Func<T>> ValueExpression { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
319+
protected virtual string FormatValueAsString(T value) { throw null; }
320+
public override System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
321+
protected abstract bool TryParseValueFromString(string value, out T result, out string validationErrorMessage);
322+
}
323+
public partial class InputCheckbox : Microsoft.AspNetCore.Components.Forms.InputBase<bool>
324+
{
325+
public InputCheckbox() { }
326+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
327+
protected override bool TryParseValueFromString(string value, out bool result, out string validationErrorMessage) { throw null; }
328+
}
329+
public partial class InputDate<T> : Microsoft.AspNetCore.Components.Forms.InputBase<T>
330+
{
331+
public InputDate() { }
332+
[Microsoft.AspNetCore.Components.ParameterAttribute]
333+
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
334+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
335+
protected override string FormatValueAsString(T value) { throw null; }
336+
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
337+
}
338+
public partial class InputNumber<T> : Microsoft.AspNetCore.Components.Forms.InputBase<T>
339+
{
340+
public InputNumber() { }
341+
[Microsoft.AspNetCore.Components.ParameterAttribute]
342+
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
343+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
344+
protected override string FormatValueAsString(T value) { throw null; }
345+
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
346+
}
347+
public partial class InputSelect<T> : Microsoft.AspNetCore.Components.Forms.InputBase<T>
348+
{
349+
public InputSelect() { }
350+
[Microsoft.AspNetCore.Components.ParameterAttribute]
351+
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
352+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
353+
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
354+
}
355+
public partial class InputText : Microsoft.AspNetCore.Components.Forms.InputBase<string>
356+
{
357+
public InputText() { }
358+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
359+
protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) { throw null; }
360+
}
361+
public partial class InputTextArea : Microsoft.AspNetCore.Components.Forms.InputBase<string>
362+
{
363+
public InputTextArea() { }
364+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
365+
protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) { throw null; }
366+
}
367+
public partial class ValidationMessage<T> : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
368+
{
369+
public ValidationMessage() { }
370+
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
371+
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
372+
[Microsoft.AspNetCore.Components.ParameterAttribute]
373+
public System.Linq.Expressions.Expression<System.Func<T>> For { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
374+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
375+
protected override void OnParametersSet() { }
376+
void System.IDisposable.Dispose() { }
377+
}
378+
public partial class ValidationSummary : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
379+
{
380+
public ValidationSummary() { }
381+
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
382+
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
383+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
384+
protected override void OnParametersSet() { }
385+
void System.IDisposable.Dispose() { }
386+
}
282387
}
283388
namespace Microsoft.AspNetCore.Components.Routing
284389
{
390+
public partial class NavLink : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
391+
{
392+
public NavLink() { }
393+
[Microsoft.AspNetCore.Components.ParameterAttribute]
394+
public string ActiveClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
395+
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
396+
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
397+
[Microsoft.AspNetCore.Components.ParameterAttribute]
398+
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
399+
protected string CssClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
400+
[Microsoft.AspNetCore.Components.ParameterAttribute]
401+
public Microsoft.AspNetCore.Components.Routing.NavLinkMatch Match { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
402+
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
403+
public void Dispose() { }
404+
protected override void OnInitialized() { }
405+
protected override void OnParametersSet() { }
406+
}
285407
public enum NavLinkMatch
286408
{
287409
Prefix = 0,

src/Components/Web/src/UIMouseEventArgs.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class UIMouseEventArgs : UIEventArgs
2929
public double ClientX { get; set; }
3030

3131
/// <summary>
32-
/// The Y coordinate of the mouse pointer in local (DOM content) coordinates.
32+
/// The Y coordinate of the mouse pointer in local (DOM content) coordinates.
3333
/// </summary>
3434
public double ClientY { get; set; }
3535

@@ -55,22 +55,22 @@ public class UIMouseEventArgs : UIEventArgs
5555
public long Buttons { get; set; }
5656

5757
/// <summary>
58-
/// true if the control key was down when the event was fired. false otherwise.
58+
/// <c>true</c> if the control key was down when the event was fired. <c>false</c> otherwise.
5959
/// </summary>
6060
public bool CtrlKey { get; set; }
6161

6262
/// <summary>
63-
/// true if the shift key was down when the event was fired. false otherwise.
63+
/// <c>true</c> if the shift key was down when the event was fired. <c>false</c> otherwise.
6464
/// </summary>
6565
public bool ShiftKey { get; set; }
6666

6767
/// <summary>
68-
/// true if the alt key was down when the event was fired. false otherwise.
68+
/// <c>true</c> if the alt key was down when the event was fired. <c>false</c> otherwise.
6969
/// </summary>
7070
public bool AltKey { get; set; }
7171

7272
/// <summary>
73-
/// true if the meta key was down when the event was fired. false otherwise.
73+
/// <c>true</c> if the meta key was down when the event was fired. <c>false</c> otherwise.
7474
/// </summary>
7575
public bool MetaKey { get; set; }
7676
}

src/Components/Web/src/UIPointerEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Microsoft.AspNetCore.Components
55
{
66
/// <summary>
7-
/// Supplies information about a mouse event that is being raised.
7+
/// Supplies information about a pointer event that is being raised.
88
/// </summary>
99
public class UIPointerEventArgs : UIMouseEventArgs
1010
{

0 commit comments

Comments
 (0)