Share via


ImageGenerationResponse Constructors

Definition

Overloads

Name Description
ImageGenerationResponse()

Initializes a new instance of the ImageGenerationResponse class.

ImageGenerationResponse(IList<AIContent>)

Initializes a new instance of the ImageGenerationResponse class.

ImageGenerationResponse()

Source:
ImageGenerationResponse.cs

Initializes a new instance of the ImageGenerationResponse class.

public:
 ImageGenerationResponse();
[System.Text.Json.Serialization.JsonConstructor]
public ImageGenerationResponse();
Public Sub New ()
Attributes

Applies to

ImageGenerationResponse(IList<AIContent>)

Source:
ImageGenerationResponse.cs

Initializes a new instance of the ImageGenerationResponse class.

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))

Parameters

contents
IList<AIContent>

The contents for this response.

Applies to