mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
various warnings fixed
This commit is contained in:
@@ -292,7 +292,7 @@ namespace Radzen.Blazor.Tests
|
||||
return obj.Text.GetHashCode();
|
||||
}
|
||||
|
||||
public bool Equals(object x, object y)
|
||||
public new bool Equals(object x, object y)
|
||||
{
|
||||
return Equals((DataItem)x, (DataItem)y);
|
||||
}
|
||||
|
||||
@@ -180,7 +180,7 @@ namespace Radzen.Blazor
|
||||
await Expand.InvokeAsync(itemIndex);
|
||||
}
|
||||
|
||||
item.SetSelected(value ?? !selected);
|
||||
await item.SetSelected(value ?? !selected);
|
||||
|
||||
if (!Multiple)
|
||||
{
|
||||
@@ -198,7 +198,7 @@ namespace Radzen.Blazor
|
||||
{
|
||||
if (i.GetSelected())
|
||||
{
|
||||
i.SetSelected(false);
|
||||
await i.SetSelected(false);
|
||||
await Collapse.InvokeAsync(items.IndexOf(i));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace RadzenBlazorDemos.Models.Northwind
|
||||
return (obj.ProductName != null ? obj.ProductName.GetHashCode() : 0);
|
||||
}
|
||||
|
||||
public bool Equals(object x, object y)
|
||||
public new bool Equals(object x, object y)
|
||||
{
|
||||
return Equals((Product)x, (Product)y);
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ AppointmentMove=@OnAppointmentMove >
|
||||
new Appointment { Start = DateTime.Today.AddDays(1), End = DateTime.Today.AddDays(12), Text = "Vacation" },
|
||||
};
|
||||
|
||||
async Task NumberOfDaysChange()
|
||||
void NumberOfDaysChange()
|
||||
{
|
||||
StateHasChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user