1 implementation of IImageSourceServiceResult
Microsoft.Maui (1)
ImageSources\ImageSourceServiceResult.cs (1)
52
public class ImageSourceServiceResult :
IImageSourceServiceResult
<PlatformView>
9 references to IImageSourceServiceResult
Microsoft.Maui (9)
ImageSources\ImageSourceExtensions.cs (8)
23
public static void LoadImage(this IImageSource? source, IMauiContext mauiContext, Action<
IImageSourceServiceResult
<PlatformImage>?>? finished = null)
29
static async Task LoadImageResult(Task<
IImageSourceServiceResult
<PlatformImage>?> task, Action<
IImageSourceServiceResult
<PlatformImage>?>? finished = null)
31
var
result = await task;
35
public static Task<
IImageSourceServiceResult
<PlatformImage>?> GetPlatformImageAsync(this IImageSource? imageSource, IMauiContext mauiContext)
38
return Task.FromResult<
IImageSourceServiceResult
<PlatformImage>?>(null);
46
public static Task<
IImageSourceServiceResult
<PlatformImage>?> GetPlatformImageAsync(this IImageSourceService imageSourceService, IImageSource? imageSource, IMauiContext mauiContext)
49
return Task.FromResult<
IImageSourceServiceResult
<PlatformImage>?>(null);
ImageSources\ImageSourceServiceResultManager.cs (1)
46
public void CompleteLoad<T>(
IImageSourceServiceResult
<T>? result, PlatformView uiContext)