using System; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace WPFluent.Controls; internal class BitmapImageProvider(Uri path) : AnimationProvider(path) { public override void Dispose() { /// } public override Task GetRenderedFrame(int index) { return Task.FromResult(new BitmapImage(Path)); } }