// Copyright (c) Microsoft Corporation. All rights reserved.
using Microsoft.UI.Xaml.Media;
namespace AccountDialog.Assets;
///
/// Provides access to application image assets with cross-package hosting support.
///
internal interface IAssetProvider
{
///
/// Gets the image source for the specified asset key.
///
/// The asset key.
/// The image source, or null if the asset is not found.
ImageSource? GetImage(AssetKey key);
///
/// Gets the image source for the specified string key (for backward compatibility).
///
/// The string asset key.
/// The image source, or null if not found.
ImageSource? GetImage(string key);
}