Ejemplo n.º 1
0
        protected override async Task OnParametersSetAsync()
        {
            if (Svg != null)
            {
                svgElements = Svg;
                return;
            }

            if (iconType != IconType || string.IsNullOrWhiteSpace(svgElements))
            {
                svgElements = await IconService.GetIcon(IconType.GetIconName());

                iconType = IconType;
            }
        }