ImageGenerationResponse Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))