Search Results for

    Show / Hide Table of Contents

    Class XmlSettingImpl<T>

    Typed setting with id and value.

    Inheritance
    System.Object
    Setting<T>
    XmlSettingImpl<T>
    Inherited Members
    Setting<T>._inherited
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.Core.Settings.Implementation.Xml
    Assembly: Sdl.Core.Settings.dll
    Syntax
    public class XmlSettingImpl<T> : Setting<T>
    Type Parameters
    Name Description
    T

    Properties

    Id

    Gets the Id of the setting retrieved from the XML

    Declaration
    public override string Id { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Sdl.Core.Settings.Setting<T>.Id

    Inherited

    True if this setting was inherited from a parent bundle or if it is a default value.

    Declaration
    public override bool Inherited { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Sdl.Core.Settings.Setting<T>.Inherited

    Value

    Gets or sets the setting value,

    Declaration
    public override T Value { get; set; }
    Property Value
    Type Description
    T
    Overrides
    Sdl.Core.Settings.Setting<T>.Value

    Methods

    OnXmlUpdated()

    This methods has to be called by sub classes when the Xml document has been changed.

    Declaration
    protected void OnXmlUpdated()

    Reset()

    Resets the setting to the inherited or default value.

    Declaration
    public override void Reset()
    Overrides
    Sdl.Core.Settings.Setting<T>.Reset()

    On this page

    Back to top Generated by DocFX