Cleanup
This commit is contained in:
@@ -61,11 +61,6 @@ namespace MP.SPEC.Components
|
||||
}
|
||||
public void Dispose()
|
||||
{
|
||||
#if false
|
||||
|
||||
MessageService.EA_PageUpdated -= MessageService_EA_PageUpdated;
|
||||
MessageService.EA_SearchUpdated -= OnSeachUpdated;
|
||||
#endif
|
||||
currRecord = null;
|
||||
SearchRecords = null;
|
||||
ListRecords = null;
|
||||
@@ -89,12 +84,6 @@ namespace MP.SPEC.Components
|
||||
|
||||
[Inject]
|
||||
protected MpDataService MDService { get; set; } = null!;
|
||||
#if false
|
||||
|
||||
[Inject]
|
||||
protected MessageService MessageService { get; set; } = null!;
|
||||
|
||||
#endif
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
@@ -125,10 +114,6 @@ namespace MP.SPEC.Components
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
#if false
|
||||
MessageService.EA_PageUpdated += MessageService_EA_PageUpdated;
|
||||
MessageService.EA_SearchUpdated += OnSeachUpdated;
|
||||
#endif
|
||||
ListStati = await MDService.AnagStatiComm();
|
||||
await reloadData(true);
|
||||
}
|
||||
|
||||
@@ -58,10 +58,6 @@ namespace MP.SPEC.Components
|
||||
public void Dispose()
|
||||
{
|
||||
aTimer.Elapsed -= ElapsedTimer;
|
||||
#if false
|
||||
MessageService.EA_PageUpdated -= MessageService_EA_PageUpdated;
|
||||
MessageService.EA_SearchUpdated -= OnSeachUpdated;
|
||||
#endif
|
||||
aTimer.Stop();
|
||||
aTimer.Dispose();
|
||||
currRecord = null;
|
||||
@@ -129,11 +125,6 @@ namespace MP.SPEC.Components
|
||||
|
||||
[Inject]
|
||||
protected MpDataService MDService { get; set; } = null!;
|
||||
#if false
|
||||
|
||||
[Inject]
|
||||
protected MessageService MessageService { get; set; } = null!;
|
||||
#endif
|
||||
|
||||
protected int RefreshPeriod
|
||||
{
|
||||
@@ -146,10 +137,6 @@ namespace MP.SPEC.Components
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
#if false
|
||||
MessageService.EA_PageUpdated += MessageService_EA_PageUpdated;
|
||||
MessageService.EA_SearchUpdated += OnSeachUpdated;
|
||||
#endif
|
||||
StartTimer();
|
||||
}
|
||||
|
||||
|
||||
@@ -56,11 +56,6 @@ namespace MP.SPEC.Pages
|
||||
|
||||
[Inject]
|
||||
protected MpDataService MDService { get; set; } = null!;
|
||||
#if false
|
||||
|
||||
[Inject]
|
||||
protected MessageService MessageService { get; set; } = null!;
|
||||
#endif
|
||||
|
||||
[Inject]
|
||||
protected NavigationManager NavManager { get; set; }
|
||||
|
||||
@@ -23,10 +23,6 @@ namespace MP.SPEC.Pages
|
||||
[Inject]
|
||||
protected MpDataService MDService { get; set; } = null!;
|
||||
|
||||
#if false
|
||||
[Inject]
|
||||
protected MessageService MsgService { get; set; } = null!;
|
||||
#endif
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
@@ -53,11 +49,6 @@ namespace MP.SPEC.Pages
|
||||
{
|
||||
isLoading = true;
|
||||
isFiltering = true;
|
||||
#if false
|
||||
// disabilito ricerca...
|
||||
MsgService.SearchVal = "";
|
||||
MsgService.ShowSearch = false;
|
||||
#endif
|
||||
// fix pagina
|
||||
await Task.Delay(1);
|
||||
var modFilter = currFilter;
|
||||
|
||||
@@ -15,10 +15,6 @@ namespace MP.SPEC.Pages
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
#if false
|
||||
[Inject]
|
||||
protected MessageService MsgService { get; set; } = null!;
|
||||
#endif
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
@@ -45,12 +41,6 @@ namespace MP.SPEC.Pages
|
||||
{
|
||||
isLoading = true;
|
||||
isFiltering = true;
|
||||
#if false
|
||||
|
||||
// disabilito ricerca...
|
||||
MsgService.SearchVal = "";
|
||||
MsgService.ShowSearch = false;
|
||||
#endif
|
||||
// fix pagina
|
||||
await Task.Delay(1);
|
||||
var modFilter = currFilter;
|
||||
|
||||
Reference in New Issue
Block a user