Add Dispose function to CityListComponent.
This commit is contained in:
parent
b9e4f44d5d
commit
b39211b1d5
@ -1,3 +1,4 @@
|
||||
@implements IDisposable
|
||||
|
||||
@if (cities != null && cities.Count > 0)
|
||||
{
|
||||
@ -31,4 +32,10 @@
|
||||
this.selectedCity = cityName;
|
||||
SelectCityCallBack.InvokeAsync(cityName);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
var guid = Guid.NewGuid();
|
||||
Console.WriteLine($"CityListComponent: {nameof(Dispose)} : {guid}");
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user