Table of Contents

Class BooleanFieldType

Namespace
Biwen.QuickApi.Contents.FieldTypes
Assembly
Biwen.QuickApi.Contents.dll
public class BooleanFieldType : IFieldType
Inheritance
BooleanFieldType
Implements
Inherited Members
Extension Methods

Constructors

BooleanFieldType()

public BooleanFieldType()

Properties

Name

public string Name { get; }

Property Value

string

SystemName

public string SystemName { get; }

Property Value

string

Value

public string Value { get; set; }

Property Value

string

ValueType

public Type ValueType { get; }

Property Value

Type

Methods

ConvertToString(object?)

public string ConvertToString(object? value)

Parameters

value object

Returns

string

ConvertValue(string)

public object? ConvertValue(string value)

Parameters

value string

Returns

object

GetValidationErrorMessage()

public string? GetValidationErrorMessage()

Returns

string

GetValue()

public object? GetValue()

Returns

object

SetValue(object?)

public void SetValue(object? value)

Parameters

value object

Validate(string, string?)

public bool Validate(string value, string? rules = null)

Parameters

value string
rules string

Returns

bool