using Microsoft.AspNetCore.Components; using MP.AppAuth.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace MP.Land.Components { public partial class CompareAnagKeyVal { #region Public Properties [Parameter] public EventCallback EC_reqAct { get; set; } [Parameter] public List ListAnagKeyValLoc { get; set; } = new List(); [Parameter] public List ListAnagKeyValRem { get; set; } = new List(); [Parameter] public bool ShowDetail { get; set; } = false; #endregion Public Properties #region Protected Properties protected int numLoc { get; set; } = 0; protected int numRem { get; set; } = 0; #endregion Protected Properties #region Protected Methods protected override void OnParametersSet() { numLoc = ListAnagKeyValLoc != null ? ListAnagKeyValLoc.Count : 0; numRem = ListAnagKeyValRem != null ? ListAnagKeyValRem.Count : 0; } /// /// Report richiesta confronto x AnagKeyVal /// protected async Task ReqCompare() { await EC_reqAct.InvokeAsync("AnagKeyVal"); } #endregion Protected Methods } }