using Microsoft.AspNetCore.Components; using MP.AppAuth.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace MP.Land.Components { public partial class CompareConfig { #region Public Properties [Parameter] public EventCallback EC_reqAct { get; set; } [Parameter] public List ListConfigLoc { get; set; } = new List(); [Parameter] public List ListConfigRem { 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 = ListConfigLoc != null ? ListConfigLoc.Count : 0; numRem = ListConfigRem != null ? ListConfigRem.Count : 0; } /// /// Report richiesta confronto x Config /// protected async Task ReqCompare() { await EC_reqAct.InvokeAsync("Config"); } #endregion Protected Methods } }