ImageGenerationResponse Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса ImageGenerationResponse.
Перегрузки
| Имя | Описание |
|---|---|
| ImageGenerationResponse() |
Инициализирует новый экземпляр класса ImageGenerationResponse. |
| ImageGenerationResponse(IList<AIContent>) |
Инициализирует новый экземпляр класса ImageGenerationResponse. |
ImageGenerationResponse()
- Исходный код:
- ImageGenerationResponse.cs
Инициализирует новый экземпляр класса ImageGenerationResponse.
public:
ImageGenerationResponse();
[System.Text.Json.Serialization.JsonConstructor]
public ImageGenerationResponse();
Public Sub New ()
- Атрибуты
Применяется к
ImageGenerationResponse(IList<AIContent>)
- Исходный код:
- ImageGenerationResponse.cs
Инициализирует новый экземпляр класса ImageGenerationResponse.
public:
ImageGenerationResponse(System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ contents);
public ImageGenerationResponse(System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent>? contents);
new Microsoft.Extensions.AI.ImageGenerationResponse : System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.ImageGenerationResponse
Public Sub New (contents As IList(Of AIContent))