using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Components; namespace AntDesign { public partial class ImagePreviewGroup { [Parameter] public RenderFragment ChildContent { get; set; } internal IList Images => _images; private IList _images; public void AddImage(Image image) { _images ??= new List(); _images.Add(image); } public void Remove(Image image) { _images.Remove(image); } } }