38 lines
817 B
C#
38 lines
817 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Test.UI.Components.Compo
|
|
{
|
|
public partial class ChildNoLoad
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public string CssClass { get; set; } = "";
|
|
|
|
[Parameter]
|
|
public string Message { get; set; } = "";
|
|
|
|
[Parameter]
|
|
public string Name { get; set; } = "NONE";
|
|
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Protected Fields
|
|
|
|
protected string LocalInfo = "";
|
|
protected string SubName = "";
|
|
|
|
#endregion Protected Fields
|
|
|
|
#region Protected Methods
|
|
|
|
protected override void OnParametersSet()
|
|
{
|
|
LocalInfo = $"Updated on {DateTime.Now:HH:ss.fff}";
|
|
SubName = $"Child of {Name}";
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |