Class DisplayPattern
Represent the template whose value will be resolved based on the actual content.
Inheritance
DisplayPattern
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class DisplayPattern
Properties
The display pattern type.
Declaration
[JsonProperty("displayPatternType", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public DisplayPatternType DisplayPatternType { get; set; }
Property Value
The template engine used for parsing the display patterns.
Declaration
[JsonProperty("templateEngine", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public TemplateEngine TemplateEngine { get; set; }
Property Value
Language specific pattern templates.
Declaration
[JsonProperty("templates", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public TranslatedStringDictionary Templates { get; set; }
Property Value
Methods
Declaration
public static DisplayPattern FromJson(string data)
Parameters
Returns