📜  如何在 blazor 组件之间传递属性 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:03.485000             🧑  作者: Mango

代码示例9
@inject Services.AppData AppData

Display Component

You entered the number @AppData.Number.

@code { protected override void OnInitialized() { AppData.OnChange += StateHasChanged; } }