Class ImageSource
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents an image source.
public class ImageSource : Base64Source
- Inheritance
-
ImageSource
- Inherited Members
Constructors
ImageSource(string, string)
Initializes a new instance of the ImageSource class.
public ImageSource(string mediaType, string data)
Parameters
Exceptions
- ArgumentException
Thrown when the media type is invalid.
- ArgumentNullException
Thrown when the media type or data is null.