Table of Contents

Class TextFieldType

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

Constructors

TextFieldType()

public TextFieldType()

Properties

Name

public virtual string Name { get; }

Property Value

string

SystemName

public virtual 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