Search Results for

    Show / Hide Table of Contents

    Class DisplayPattern

    Represent the template whose value will be resolved based on the actual content.

    Inheritance
    object
    DisplayPattern
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    DisplayPatternType

    The display pattern type.

    Declaration
    [JsonProperty("displayPatternType", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public DisplayPatternType DisplayPatternType { get; set; }
    Property Value
    DisplayPatternType

    TemplateEngine

    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
    TemplateEngine

    Templates

    Language specific pattern templates.

    Declaration
    [JsonProperty("templates", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public TranslatedStringDictionary Templates { get; set; }
    Property Value
    TranslatedStringDictionary

    Methods

    FromJson(string)

    Declaration
    public static DisplayPattern FromJson(string data)
    Parameters
    string data

    Returns
    DisplayPattern

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX