Język

ImageGeneratorExtensions Klasa

Definicja

Udostępnia metody rozszerzenia dla programu IImageGenerator.

public ref class ImageGeneratorExtensions abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public static class ImageGeneratorExtensions
public static class ImageGeneratorExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ImageGeneratorExtensions = class
type ImageGeneratorExtensions = class
Public Module ImageGeneratorExtensions
Dziedziczenie
ImageGeneratorExtensions
Atrybuty

Metody

Nazwisko Opis
EditImageAsync(IImageGenerator, DataContent, String, ImageGenerationOptions, CancellationToken)

Edytuje pojedynczy obraz na podstawie oryginalnego obrazu i określonego monitu.

EditImageAsync(IImageGenerator, ReadOnlyMemory<Byte>, String, String, ImageGenerationOptions, CancellationToken)

Edytuje pojedynczy obraz na podstawie tablicy bajtów i określonego monitu.

EditImagesAsync(IImageGenerator, IEnumerable<AIContent>, String, ImageGenerationOptions, CancellationToken)

Edytuje obrazy na podstawie oryginalnych obrazów i monitu tekstowego.

GenerateImagesAsync(IImageGenerator, String, ImageGenerationOptions, CancellationToken)

Generuje obrazy na podstawie monitu tekstowego.

GetRequiredService(IImageGenerator, Type, Object)

IImageGenerator Pyta o obiekt określonego typu serviceType i zgłasza wyjątek, jeśli nie jest dostępny.

GetRequiredService<TService>(IImageGenerator, Object)

IImageGenerator Pyta o obiekt typu TService i zgłasza wyjątek, jeśli nie jest dostępny.

GetService<TService>(IImageGenerator, Object)

IImageGenerator Pyta o obiekt typu TService.

Dotyczy