preserve backward compatibility but flag methods as obsolete
This commit is contained in:
parent
b5f7106780
commit
e6df8dcd2e
|
@ -11,9 +11,32 @@ else
|
||||||
}
|
}
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
// this component is on the static side of the render mode boundary
|
||||||
|
// it passes state as serializable parameters across the boundary so that the state can be used by downstream interactive components
|
||||||
|
|
||||||
[CascadingParameter]
|
[CascadingParameter]
|
||||||
protected PageState PageState { get; set; }
|
protected PageState PageState { get; set; }
|
||||||
|
|
||||||
[CascadingParameter]
|
[CascadingParameter]
|
||||||
private Module ModuleState { get; set; }
|
private Module ModuleState { get; set; }
|
||||||
|
|
||||||
|
[Obsolete("AddModuleMessage is deprecated. Use ModuleBase.AddModuleMessage instead.", false)]
|
||||||
|
public void AddModuleMessage(string message, MessageType type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[Obsolete("AddModuleMessage is deprecated. Use ModuleBase.AddModuleMessage instead.", false)]
|
||||||
|
public void AddModuleMessage(string message, MessageType type, string position)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[Obsolete("ShowProgressIndicator is deprecated. Use ModuleBase.ShowProgressIndicator instead.", false)]
|
||||||
|
public void ShowProgressIndicator()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[Obsolete("HideProgressIndicator is deprecated. Use ModuleBase.HideProgressIndicator instead.", false)]
|
||||||
|
public void HideProgressIndicator()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user