Emby Developer Emby Developer
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PropertyOptionValue

    One property value which differs from its baseline, identified by its path within the options object and carried as an invariant-culture string.

    Inheritance
    System.Object
    PropertyOptionValue
    Namespace: Emby.Web.GenericEdit.OptionValues
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public class PropertyOptionValue
    Remarks

    The value is deliberately not typed: the target property is the authority on its own type, so OptionValueManager converts back through that property's System.ComponentModel.TypeConverter when applying. That keeps no type names in the persisted form - renaming or moving a type cannot invalidate stored values - and avoids the guesswork an object member would need on deserialization. A null Value means the property was set to null (or, for strings, cleared); the presence of the entry itself is what distinguishes that from "not set".

    Properties

    PropertyPath

    Gets or sets the dot-separated path of the property within the options object, not including the object's own type name (so renaming the options class does not invalidate it). Items of an IEditableObjectCollection appear as a colitem<index> segment, matching the editor ids built by EditorBuilder.

    Declaration
    public string PropertyPath { get; set; }
    Property Value
    Type Description
    System.String

    Value

    Gets or sets the value in its invariant-culture string form, or null to assign null.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.