Class ImageInfo
ImageInfo.
[DataContract]
public class ImageInfo
- Inheritance
-
ImageInfo
- Inherited Members
Constructors
ImageInfo()
Initializes a new instance of the ImageInfo class.
[JsonConstructor]
protected ImageInfo()
ImageInfo(string, string, string)
Initializes a new instance of the ImageInfo class.
public ImageInfo(string title = null, string description = null, string allowedFileExtensions = null)
Parameters
title
stringtitle (required).
description
stringdescription.
allowedFileExtensions
stringallowedFileExtensions.
Properties
AllowedFileExtensions
Gets or sets the allowed file extensions such as jpg, jpeg, png, svg and bmp. Example : ".jpg,.jpeg,.png".
[DataMember(Name = "allowedFileExtensions", EmitDefaultValue = false)]
public string AllowedFileExtensions { get; set; }
Property Value
Description
Gets or Sets description.
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Title
Gets or Sets Title value.
[DataMember(Name = "title", EmitDefaultValue = false)]
public string Title { get; set; }