[]
        
(Showing Draft Content)

C1.Web.Api.Document.Models.ExportOptionDescription.-ctor

ExportOptionDescription Constructor

ExportOptionDescription(string, string, object, string, IEnumerable<string>, bool)

Initializes a new instance of ExportOptionDescription object.

Declaration
public ExportOptionDescription(string name, string type = "string", object defaultValue = null, string group = "", IEnumerable<string> allowedValues = null, bool nullable = false)
Parameters
Type Name Description
string name

The name of the option.

string type

The data type of the option.

object defaultValue

The defualt value of the option.

string group

The group which the option belongs to.

IEnumerable<string> allowedValues

Thee supported values of the option.

bool nullable

Whether the value of the option can be null.