Corretti alcuni Warnings
This commit is contained in:
@@ -54,9 +54,10 @@ namespace WebWindowComplex.Models
|
||||
{
|
||||
foreach (var Value in HdwOptionParam.Opzioni)
|
||||
m_ValueList.Add(Value.Valore);
|
||||
m_sValue = m_ValueList.FirstOrDefault(x => x == HdwOptionParam.ValoreCorrente);
|
||||
if(m_ValueList.FirstOrDefault(x => x == HdwOptionParam.ValoreCorrente) != null)
|
||||
m_sValue = m_ValueList.FirstOrDefault(x => x == HdwOptionParam.ValoreCorrente)!;
|
||||
if (string.IsNullOrEmpty(m_sValue))
|
||||
m_sValue = m_ValueList.FirstOrDefault();
|
||||
m_sValue = m_ValueList.FirstOrDefault()!;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user