Remove manual ref-assembly generation for Components
This commit is contained in:
parent
732aca0002
commit
3e2f88497d
|
|
@ -2,11 +2,4 @@
|
||||||
T:Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame
|
T:Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame
|
||||||
# Manually implemented - https://github.com/dotnet/arcade/issues/2066
|
# Manually implemented - https://github.com/dotnet/arcade/issues/2066
|
||||||
T:Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel
|
T:Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel
|
||||||
T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel
|
T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel
|
||||||
# Manually implemented - https://github.com/aspnet/AspNetCore/issues/8825
|
|
||||||
T:Microsoft.AspNetCore.Components.AuthorizeView
|
|
||||||
T:Microsoft.AspNetCore.Components.AuthorizeViewCore
|
|
||||||
T:Microsoft.AspNetCore.Components.CascadingAuthenticationState
|
|
||||||
T:Microsoft.AspNetCore.Components.CascadingValue`1
|
|
||||||
T:Microsoft.AspNetCore.Components.PageDisplay
|
|
||||||
T:Microsoft.AspNetCore.Components.Routing.Router
|
|
||||||
|
|
@ -45,76 +45,3 @@ namespace Microsoft.AspNetCore.Components.RenderTree
|
||||||
public override string ToString() { throw null; }
|
public override string ToString() { throw null; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Built-in components: https://github.com/aspnet/AspNetCore/issues/8825
|
|
||||||
namespace Microsoft.AspNetCore.Components
|
|
||||||
{
|
|
||||||
public partial class AuthorizeView : Microsoft.AspNetCore.Components.AuthorizeViewCore
|
|
||||||
{
|
|
||||||
public AuthorizeView() { }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public string Policy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public object Resource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public string Roles { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
protected override Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData() { throw null; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract partial class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase
|
|
||||||
{
|
|
||||||
public AuthorizeViewCore() { }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> Authorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
|
||||||
protected abstract Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData();
|
|
||||||
[System.Diagnostics.DebuggerStepThroughAttribute]
|
|
||||||
protected override System.Threading.Tasks.Task OnParametersSetAsync() { throw null; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public partial class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
|
|
||||||
{
|
|
||||||
public CascadingAuthenticationState() { }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; } }
|
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
|
||||||
protected override void OnInitialized() { }
|
|
||||||
void System.IDisposable.Dispose() { }
|
|
||||||
}
|
|
||||||
|
|
||||||
public partial class CascadingValue<T> : Microsoft.AspNetCore.Components.IComponent
|
|
||||||
{
|
|
||||||
public CascadingValue() { }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public bool IsFixed { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
|
|
||||||
public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public partial class PageDisplay : Microsoft.AspNetCore.Components.IComponent
|
|
||||||
{
|
|
||||||
public PageDisplay() { }
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment AuthorizingContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorizedContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public System.Type Page { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
|
||||||
public System.Collections.Generic.IDictionary<string, object> PageParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } private set { throw null; }}
|
|
||||||
public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
|
|
||||||
public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,33 @@ namespace Microsoft.AspNetCore.Components
|
||||||
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.AuthenticationState> GetAuthenticationStateAsync();
|
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.AuthenticationState> GetAuthenticationStateAsync();
|
||||||
protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.AuthenticationState> task) { }
|
protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.AuthenticationState> task) { }
|
||||||
}
|
}
|
||||||
|
public partial class AuthorizeView : Microsoft.AspNetCore.Components.AuthorizeViewCore
|
||||||
|
{
|
||||||
|
public AuthorizeView() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public string Policy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public string Roles { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
protected override Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData() { throw null; }
|
||||||
|
}
|
||||||
|
public abstract partial class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase
|
||||||
|
{
|
||||||
|
protected AuthorizeViewCore() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> Authorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public object Resource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
|
protected abstract Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData();
|
||||||
|
[System.Diagnostics.DebuggerStepThroughAttribute]
|
||||||
|
protected override System.Threading.Tasks.Task OnParametersSetAsync() { throw null; }
|
||||||
|
}
|
||||||
public static partial class BindConverter
|
public static partial class BindConverter
|
||||||
{
|
{
|
||||||
public static bool FormatValue(bool value, System.Globalization.CultureInfo culture = null) { throw null; }
|
public static bool FormatValue(bool value, System.Globalization.CultureInfo culture = null) { throw null; }
|
||||||
|
|
@ -63,12 +90,35 @@ namespace Microsoft.AspNetCore.Components
|
||||||
public static bool TryConvertToString(object obj, System.Globalization.CultureInfo culture, out string value) { throw null; }
|
public static bool TryConvertToString(object obj, System.Globalization.CultureInfo culture, out string value) { throw null; }
|
||||||
public static bool TryConvertTo<T>(object obj, System.Globalization.CultureInfo culture, out T value) { throw null; }
|
public static bool TryConvertTo<T>(object obj, System.Globalization.CultureInfo culture, out T value) { throw null; }
|
||||||
}
|
}
|
||||||
|
public partial class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
|
||||||
|
{
|
||||||
|
public CascadingAuthenticationState() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
|
protected override void OnInitialized() { }
|
||||||
|
void System.IDisposable.Dispose() { }
|
||||||
|
}
|
||||||
[System.AttributeUsageAttribute(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
|
[System.AttributeUsageAttribute(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
|
||||||
public sealed partial class CascadingParameterAttribute : System.Attribute
|
public sealed partial class CascadingParameterAttribute : System.Attribute
|
||||||
{
|
{
|
||||||
public CascadingParameterAttribute() { }
|
public CascadingParameterAttribute() { }
|
||||||
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
}
|
}
|
||||||
|
public partial class CascadingValue<T> : Microsoft.AspNetCore.Components.IComponent
|
||||||
|
{
|
||||||
|
public CascadingValue() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public bool IsFixed { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
|
||||||
|
public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
||||||
|
}
|
||||||
public abstract partial class ComponentBase : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, Microsoft.AspNetCore.Components.IHandleEvent
|
public abstract partial class ComponentBase : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, Microsoft.AspNetCore.Components.IHandleEvent
|
||||||
{
|
{
|
||||||
public ComponentBase() { }
|
public ComponentBase() { }
|
||||||
|
|
@ -231,7 +281,7 @@ namespace Microsoft.AspNetCore.Components
|
||||||
{
|
{
|
||||||
protected LayoutComponentBase() { }
|
protected LayoutComponentBase() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment Body { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.RenderFragment Body { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
}
|
}
|
||||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||||
public readonly partial struct MarkupString
|
public readonly partial struct MarkupString
|
||||||
|
|
@ -247,6 +297,20 @@ namespace Microsoft.AspNetCore.Components
|
||||||
public NavigationException(string uri) { }
|
public NavigationException(string uri) { }
|
||||||
public string Location { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public string Location { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
||||||
}
|
}
|
||||||
|
public partial class PageDisplay : Microsoft.AspNetCore.Components.IComponent
|
||||||
|
{
|
||||||
|
public PageDisplay() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment AuthorizingContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorizedContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public System.Type Page { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public System.Collections.Generic.IDictionary<string, object> PageParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
|
||||||
|
public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
||||||
|
}
|
||||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||||
public readonly partial struct Parameter
|
public readonly partial struct Parameter
|
||||||
{
|
{
|
||||||
|
|
@ -587,4 +651,21 @@ namespace Microsoft.AspNetCore.Components.Routing
|
||||||
public bool IsNavigationIntercepted { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public bool IsNavigationIntercepted { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
||||||
public string Location { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public string Location { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
||||||
}
|
}
|
||||||
|
public partial class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable
|
||||||
|
{
|
||||||
|
public Router() { }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public System.Reflection.Assembly AppAssembly { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment AuthorizingContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorizedContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
|
public Microsoft.AspNetCore.Components.RenderFragment NotFoundContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
|
public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
|
||||||
|
public void Dispose() { }
|
||||||
|
System.Threading.Tasks.Task Microsoft.AspNetCore.Components.IHandleAfterRender.OnAfterRenderAsync() { throw null; }
|
||||||
|
protected virtual void Render(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, System.Type handler, System.Collections.Generic.IDictionary<string, object> parameters) { }
|
||||||
|
public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,12 +23,12 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The policy name that determines whether the content can be displayed.
|
/// The policy name that determines whether the content can be displayed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public string Policy { get; private set; }
|
[Parameter] public string Policy { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A comma delimited list of roles that are allowed to display the content.
|
/// A comma delimited list of roles that are allowed to display the content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public string Roles { get; private set; }
|
[Parameter] public string Roles { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the data used for authorization.
|
/// Gets the data used for authorization.
|
||||||
|
|
|
||||||
|
|
@ -20,28 +20,28 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed if the user is authorized.
|
/// The content that will be displayed if the user is authorized.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment<AuthenticationState> ChildContent { get; private set; }
|
[Parameter] public RenderFragment<AuthenticationState> ChildContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed if the user is not authorized.
|
/// The content that will be displayed if the user is not authorized.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment<AuthenticationState> NotAuthorized { get; private set; }
|
[Parameter] public RenderFragment<AuthenticationState> NotAuthorized { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed if the user is authorized.
|
/// The content that will be displayed if the user is authorized.
|
||||||
/// If you specify a value for this parameter, do not also specify a value for <see cref="ChildContent"/>.
|
/// If you specify a value for this parameter, do not also specify a value for <see cref="ChildContent"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment<AuthenticationState> Authorized { get; private set; }
|
[Parameter] public RenderFragment<AuthenticationState> Authorized { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed while asynchronous authorization is in progress.
|
/// The content that will be displayed while asynchronous authorization is in progress.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment Authorizing { get; private set; }
|
[Parameter] public RenderFragment Authorizing { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The resource to which access is being controlled.
|
/// The resource to which access is being controlled.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public object Resource { get; private set; }
|
[Parameter] public object Resource { get; set; }
|
||||||
|
|
||||||
[CascadingParameter] private Task<AuthenticationState> AuthenticationState { get; set; }
|
[CascadingParameter] private Task<AuthenticationState> AuthenticationState { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content to which the authentication state should be provided.
|
/// The content to which the authentication state should be provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment ChildContent { get; private set; }
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -21,12 +21,12 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content to which the value should be provided.
|
/// The content to which the value should be provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment ChildContent { get; private set; }
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The value to be provided.
|
/// The value to be provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public T Value { get; private set; }
|
[Parameter] public T Value { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Optionally gives a name to the provided value. Descendant components
|
/// Optionally gives a name to the provided value. Descendant components
|
||||||
|
|
@ -35,7 +35,7 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// If no name is specified, then descendant components will receive the
|
/// If no name is specified, then descendant components will receive the
|
||||||
/// value based the type of value they are requesting.
|
/// value based the type of value they are requesting.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public string Name { get; private set; }
|
[Parameter] public string Name { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If true, indicates that <see cref="Value"/> will not change. This is a
|
/// If true, indicates that <see cref="Value"/> will not change. This is a
|
||||||
|
|
@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// change notifications. Set this flag only if you will not change
|
/// change notifications. Set this flag only if you will not change
|
||||||
/// <see cref="Value"/> during the component's lifetime.
|
/// <see cref="Value"/> during the component's lifetime.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public bool IsFixed { get; private set; }
|
[Parameter] public bool IsFixed { get; set; }
|
||||||
|
|
||||||
object ICascadingValueComponent.CurrentValue => Value;
|
object ICascadingValueComponent.CurrentValue => Value;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// Gets the content to be rendered inside the layout.
|
/// Gets the content to be rendered inside the layout.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public RenderFragment Body { get; private set; }
|
public RenderFragment Body { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,25 +24,25 @@ namespace Microsoft.AspNetCore.Components
|
||||||
/// The type must implement <see cref="IComponent"/>.
|
/// The type must implement <see cref="IComponent"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public Type Page { get; private set; }
|
public Type Page { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the parameters to pass to the page.
|
/// Gets or sets the parameters to pass to the page.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public IDictionary<string, object> PageParameters { get; private set; }
|
public IDictionary<string, object> PageParameters { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed if the user is not authorized.
|
/// The content that will be displayed if the user is not authorized.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public RenderFragment<AuthenticationState> NotAuthorizedContent { get; private set; }
|
public RenderFragment<AuthenticationState> NotAuthorizedContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed while asynchronous authorization is in progress.
|
/// The content that will be displayed while asynchronous authorization is in progress.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public RenderFragment AuthorizingContent { get; private set; }
|
public RenderFragment AuthorizingContent { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void Attach(RenderHandle renderHandle)
|
public void Attach(RenderHandle renderHandle)
|
||||||
|
|
|
||||||
|
|
@ -36,22 +36,22 @@ namespace Microsoft.AspNetCore.Components.Routing
|
||||||
/// Gets or sets the assembly that should be searched, along with its referenced
|
/// Gets or sets the assembly that should be searched, along with its referenced
|
||||||
/// assemblies, for components matching the URI.
|
/// assemblies, for components matching the URI.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public Assembly AppAssembly { get; private set; }
|
[Parameter] public Assembly AppAssembly { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the type of the component that should be used as a fallback when no match is found for the requested route.
|
/// Gets or sets the type of the component that should be used as a fallback when no match is found for the requested route.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment NotFoundContent { get; private set; }
|
[Parameter] public RenderFragment NotFoundContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed if the user is not authorized.
|
/// The content that will be displayed if the user is not authorized.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment<AuthenticationState> NotAuthorizedContent { get; private set; }
|
[Parameter] public RenderFragment<AuthenticationState> NotAuthorizedContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content that will be displayed while asynchronous authorization is in progress.
|
/// The content that will be displayed while asynchronous authorization is in progress.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment AuthorizingContent { get; private set; }
|
[Parameter] public RenderFragment AuthorizingContent { get; set; }
|
||||||
|
|
||||||
private RouteTable Routes { get; set; }
|
private RouteTable Routes { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -283,19 +283,19 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public EditForm() { }
|
public EditForm() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
||||||
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Forms.EditContext> ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Forms.EditContext> ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public object Model { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public object Model { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnInvalidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnInvalidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnValidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnValidSubmit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override void OnParametersSet() { }
|
protected override void OnParametersSet() { }
|
||||||
}
|
}
|
||||||
|
|
@ -303,19 +303,19 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
protected InputBase() { }
|
protected InputBase() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
||||||
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected string CssClass { get { throw null; } }
|
protected string CssClass { get { throw null; } }
|
||||||
protected T CurrentValue { get { throw null; } set { } }
|
protected T CurrentValue { get { throw null; } set { } }
|
||||||
protected string CurrentValueAsString { get { throw null; } set { } }
|
protected string CurrentValueAsString { get { throw null; } set { } }
|
||||||
protected Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
protected Microsoft.AspNetCore.Components.Forms.EditContext EditContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected string FieldClass { get { throw null; } }
|
protected string FieldClass { get { throw null; } }
|
||||||
protected Microsoft.AspNetCore.Components.Forms.FieldIdentifier FieldIdentifier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
protected Microsoft.AspNetCore.Components.Forms.FieldIdentifier FieldIdentifier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.EventCallback<T> ValueChanged { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.EventCallback<T> ValueChanged { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public System.Linq.Expressions.Expression<System.Func<T>> ValueExpression { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Linq.Expressions.Expression<System.Func<T>> ValueExpression { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected virtual string FormatValueAsString(T value) { throw null; }
|
protected virtual string FormatValueAsString(T value) { throw null; }
|
||||||
public override System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
public override System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
|
||||||
protected abstract bool TryParseValueFromString(string value, out T result, out string validationErrorMessage);
|
protected abstract bool TryParseValueFromString(string value, out T result, out string validationErrorMessage);
|
||||||
|
|
@ -330,7 +330,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public InputDate() { }
|
public InputDate() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override string FormatValueAsString(T value) { throw null; }
|
protected override string FormatValueAsString(T value) { throw null; }
|
||||||
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
||||||
|
|
@ -339,7 +339,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public InputNumber() { }
|
public InputNumber() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public string ParsingErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override string FormatValueAsString(T value) { throw null; }
|
protected override string FormatValueAsString(T value) { throw null; }
|
||||||
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
||||||
|
|
@ -348,7 +348,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public InputSelect() { }
|
public InputSelect() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
protected override bool TryParseValueFromString(string value, out T result, out string validationErrorMessage) { throw null; }
|
||||||
}
|
}
|
||||||
|
|
@ -368,9 +368,9 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public ValidationMessage() { }
|
public ValidationMessage() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
||||||
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public System.Linq.Expressions.Expression<System.Func<T>> For { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Linq.Expressions.Expression<System.Func<T>> For { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override void OnParametersSet() { }
|
protected override void OnParametersSet() { }
|
||||||
void System.IDisposable.Dispose() { }
|
void System.IDisposable.Dispose() { }
|
||||||
|
|
@ -379,7 +379,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
{
|
{
|
||||||
public ValidationSummary() { }
|
public ValidationSummary() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
||||||
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
protected override void OnParametersSet() { }
|
protected override void OnParametersSet() { }
|
||||||
void System.IDisposable.Dispose() { }
|
void System.IDisposable.Dispose() { }
|
||||||
|
|
@ -391,14 +391,14 @@ namespace Microsoft.AspNetCore.Components.Routing
|
||||||
{
|
{
|
||||||
public NavLink() { }
|
public NavLink() { }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public string ActiveClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public string ActiveClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
[Microsoft.AspNetCore.Components.ParameterAttribute(CaptureUnmatchedValues=true)]
|
||||||
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public System.Collections.Generic.IReadOnlyDictionary<string, object> AdditionalAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected string CssClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
protected string CssClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
[Microsoft.AspNetCore.Components.ParameterAttribute]
|
||||||
public Microsoft.AspNetCore.Components.Routing.NavLinkMatch Match { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
|
public Microsoft.AspNetCore.Components.Routing.NavLinkMatch Match { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
|
||||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) { }
|
||||||
public void Dispose() { }
|
public void Dispose() { }
|
||||||
protected override void OnInitialized() { }
|
protected override void OnInitialized() { }
|
||||||
|
|
|
||||||
|
|
@ -28,26 +28,26 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of additional attributes that will be applied to the created <c>form</c> element.
|
/// Gets or sets a collection of additional attributes that will be applied to the created <c>form</c> element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; private set; }
|
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Supplies the edit context explicitly. If using this parameter, do not
|
/// Supplies the edit context explicitly. If using this parameter, do not
|
||||||
/// also supply <see cref="Model"/>, since the model value will be taken
|
/// also supply <see cref="Model"/>, since the model value will be taken
|
||||||
/// from the <see cref="EditContext.Model"/> property.
|
/// from the <see cref="EditContext.Model"/> property.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EditContext EditContext { get; private set; }
|
[Parameter] public EditContext EditContext { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specifies the top-level model object for the form. An edit context will
|
/// Specifies the top-level model object for the form. An edit context will
|
||||||
/// be constructed for this model. If using this parameter, do not also supply
|
/// be constructed for this model. If using this parameter, do not also supply
|
||||||
/// a value for <see cref="EditContext"/>.
|
/// a value for <see cref="EditContext"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public object Model { get; private set; }
|
[Parameter] public object Model { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specifies the content to be rendered inside this <see cref="EditForm"/>.
|
/// Specifies the content to be rendered inside this <see cref="EditForm"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment<EditContext> ChildContent { get; private set; }
|
[Parameter] public RenderFragment<EditContext> ChildContent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A callback that will be invoked when the form is submitted.
|
/// A callback that will be invoked when the form is submitted.
|
||||||
|
|
@ -55,19 +55,19 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// If using this parameter, you are responsible for triggering any validation
|
/// If using this parameter, you are responsible for triggering any validation
|
||||||
/// manually, e.g., by calling <see cref="EditContext.Validate"/>.
|
/// manually, e.g., by calling <see cref="EditContext.Validate"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EventCallback<EditContext> OnSubmit { get; private set; }
|
[Parameter] public EventCallback<EditContext> OnSubmit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A callback that will be invoked when the form is submitted and the
|
/// A callback that will be invoked when the form is submitted and the
|
||||||
/// <see cref="EditContext"/> is determined to be valid.
|
/// <see cref="EditContext"/> is determined to be valid.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EventCallback<EditContext> OnValidSubmit { get; private set; }
|
[Parameter] public EventCallback<EditContext> OnValidSubmit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A callback that will be invoked when the form is submitted and the
|
/// A callback that will be invoked when the form is submitted and the
|
||||||
/// <see cref="EditContext"/> is determined to be invalid.
|
/// <see cref="EditContext"/> is determined to be invalid.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EventCallback<EditContext> OnInvalidSubmit { get; private set; }
|
[Parameter] public EventCallback<EditContext> OnInvalidSubmit { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void OnParametersSet()
|
protected override void OnParametersSet()
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of additional attributes that will be applied to the created element.
|
/// Gets or sets a collection of additional attributes that will be applied to the created element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; private set; }
|
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value of the input. This should be used with two-way binding.
|
/// Gets or sets the value of the input. This should be used with two-way binding.
|
||||||
|
|
@ -32,27 +32,27 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <example>
|
/// <example>
|
||||||
/// @bind-Value="model.PropertyName"
|
/// @bind-Value="model.PropertyName"
|
||||||
/// </example>
|
/// </example>
|
||||||
[Parameter] public T Value { get; private set; }
|
[Parameter] public T Value { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a callback that updates the bound value.
|
/// Gets or sets a callback that updates the bound value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EventCallback<T> ValueChanged { get; private set; }
|
[Parameter] public EventCallback<T> ValueChanged { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets an expression that identifies the bound value.
|
/// Gets or sets an expression that identifies the bound value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public Expression<Func<T>> ValueExpression { get; private set; }
|
[Parameter] public Expression<Func<T>> ValueExpression { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the associated <see cref="Microsoft.AspNetCore.Components.Forms.EditContext"/>.
|
/// Gets the associated <see cref="Microsoft.AspNetCore.Components.Forms.EditContext"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected EditContext EditContext { get; private set; }
|
protected EditContext EditContext { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the <see cref="FieldIdentifier"/> for the bound value.
|
/// Gets the <see cref="FieldIdentifier"/> for the bound value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected FieldIdentifier FieldIdentifier { get; private set; }
|
protected FieldIdentifier FieldIdentifier { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the current value of the input.
|
/// Gets or sets the current value of the input.
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the error message used when displaying an a parsing error.
|
/// Gets or sets the error message used when displaying an a parsing error.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public string ParsingErrorMessage { get; private set; } = "The {0} field must be a date.";
|
[Parameter] public string ParsingErrorMessage { get; set; } = "The {0} field must be a date.";
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the error message used when displaying an a parsing error.
|
/// Gets or sets the error message used when displaying an a parsing error.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public string ParsingErrorMessage { get; private set; } = "The {0} field must be a number.";
|
[Parameter] public string ParsingErrorMessage { get; set; } = "The {0} field must be a number.";
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the child content to be rendering inside the select element.
|
/// Gets or sets the child content to be rendering inside the select element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public RenderFragment ChildContent { get; private set; }
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
protected override void BuildRenderTree(RenderTreeBuilder builder)
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,14 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of additional attributes that will be applied to the created <c>div</c> element.
|
/// Gets or sets a collection of additional attributes that will be applied to the created <c>div</c> element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; private set; }
|
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
|
||||||
|
|
||||||
[CascadingParameter] EditContext CurrentEditContext { get; set; }
|
[CascadingParameter] EditContext CurrentEditContext { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specifies the field for which validation messages should be displayed.
|
/// Specifies the field for which validation messages should be displayed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public Expression<Func<T>> For { get; private set; }
|
[Parameter] public Expression<Func<T>> For { get; set; }
|
||||||
|
|
||||||
/// <summary>`
|
/// <summary>`
|
||||||
/// Constructs an instance of <see cref="ValidationMessage{T}"/>.
|
/// Constructs an instance of <see cref="ValidationMessage{T}"/>.
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Components.Forms
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of additional attributes that will be applied to the created <c>ul</c> element.
|
/// Gets or sets a collection of additional attributes that will be applied to the created <c>ul</c> element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; private set; }
|
[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
|
||||||
|
|
||||||
[CascadingParameter] EditContext CurrentEditContext { get; set; }
|
[CascadingParameter] EditContext CurrentEditContext { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,19 +25,19 @@ namespace Microsoft.AspNetCore.Components.Routing
|
||||||
/// current route matches the NavLink href.
|
/// current route matches the NavLink href.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public string ActiveClass { get; private set; }
|
public string ActiveClass { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a collection of additional attributes that will be added to the generated
|
/// Gets or sets a collection of additional attributes that will be added to the generated
|
||||||
/// <c>a</c> element.
|
/// <c>a</c> element.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter(CaptureUnmatchedValues = true)]
|
[Parameter(CaptureUnmatchedValues = true)]
|
||||||
public IReadOnlyDictionary<string, object> AdditionalAttributes { get; private set; }
|
public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the computed CSS class based on whether or not the link is active.
|
/// Gets or sets the computed CSS class based on whether or not the link is active.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string CssClass { get; private set; }
|
protected string CssClass { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the child content of the component.
|
/// Gets or sets the child content of the component.
|
||||||
|
|
@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Components.Routing
|
||||||
/// Gets or sets a value representing the URL matching behavior.
|
/// Gets or sets a value representing the URL matching behavior.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public NavLinkMatch Match { get; private set; }
|
public NavLinkMatch Match { get; set; }
|
||||||
|
|
||||||
[Inject] private IUriHelper UriHelper { get; set; }
|
[Inject] private IUriHelper UriHelper { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue