Class FieldTranslatedString
The field used to store a translated string values
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class FieldTranslatedString : FieldBase
Properties
Boost
Value to prioritize search results. Set to 1 by default. Ignored if SimpleSearch not set to true.
Declaration
public double Boost { get; set; }
Property Value
System.Double
|
IndexAnalyzers
Defines how the value must be analyzed for filtering by ElasticSearch. A string field can have multiple analyzers, but only one per analyzer type.
The analyzers are applied only if the Index property is set to true.
Declaration
public ICollection<AnalyzerBase> IndexAnalyzers { get; set; }
Property Value
System.Collections.Generic.ICollection<AnalyzerBase>
|
MaximumLength
The maximum string's length.
Declaration
public int? MaximumLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
MinimumLength
The minimum string's length.
Declaration
public int? MinimumLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
MultiLine
Defines that the field value must be displayed in a multiline component.
Declaration
public bool MultiLine { get; set; }
Property Value
System.Boolean
|
Pattern
Contains a regex validation pattern.
Declaration
public string Pattern { get; set; }
Property Value
System.String
|
RenderingType
Stores information on how values of this field should be rendered
Declaration
public StringRenderingType RenderingType { get; set; }
Property Value
StringRenderingType
|
RequiredMetadataLanguages
Sets the required metadata languages for the translation field. The langauge configuration limits the available metadata languages.
If Required is true, the field and all its metadata languages are required.
If Required is false, the field can be left empty, but as soon as a value is entered all required metadata languages are mandatory.
Declaration
public ICollection<string> RequiredMetadataLanguages { get; set; }
Property Value
System.Collections.Generic.ICollection<System.String>
|
SimpleSearchAnalyzers
Defines how the value must be analyzed for searches by ElasticSearch. A string field can have multiple analyzers, but only one per analyzer type.
The analyzers are applied only if the SimpleSearch property is set to true.
Declaration
public ICollection<AnalyzerBase> SimpleSearchAnalyzers { get; set; }
Property Value
System.Collections.Generic.ICollection<AnalyzerBase>
|
Template
A DotLiquid template. If set, it transforms the field in a calculated field, so that its value is calculated based on this template.
Declaration
public string Template { get; set; }
Property Value
System.String
|
Methods
FromJson(String)
Declaration
public static FieldTranslatedString FromJson(string data)
Parameters
System.String
data
|
Returns
FieldTranslatedString
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|