Class FileFieldType
- Namespace
- Biwen.QuickApi.Contents.FieldTypes
- Assembly
- Biwen.QuickApi.Contents.dll
public class FileFieldType : IFieldType
- Inheritance
-
FileFieldType
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
FileFieldType()
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