Show / Hide Table of Contents

    Interface IConfigurationObject

    The interface from which all configuration objects are derived.

    Inherited Members
    System.IDisposable.Dispose()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: OpenCollar.Extensions.Configuration
    Assembly: OpenCollar.Extensions.Configuration.dll
    Syntax
    public interface IConfigurationObject : IDisposable, INotifyPropertyChanged
    Remarks

    The following UML has been generated directly from the source code using Jebbs PlantUML .

    Properties

    | Improve this Doc View Source

    IsDirty

    Gets a value indicating whether this object has any properties with unsaved changes.

    Declaration
    bool IsDirty { get; }
    Property Value
    Type Description
    System.Boolean

    true if this object has any properties with unsaved changes; otherwise, false .

    Exceptions
    Type Condition
    System.ObjectDisposedException

    This method cannot be used after the object has been disposed of.

    Methods

    | Improve this Doc View Source

    Delete()

    Recursively deletes all of the persisted properties from the configuration sources.

    Declaration
    void Delete()
    Exceptions
    Type Condition
    System.ObjectDisposedException

    This method cannot be used after the object has been disposed of.

    | Improve this Doc View Source

    Load()

    Loads all of the properties from the configuration sources, overwriting any unsaved changes.

    Declaration
    void Load()
    Exceptions
    Type Condition
    System.ObjectDisposedException

    This method cannot be used after the object has been disposed of.

    | Improve this Doc View Source

    Save()

    Saves this current values for each property back to the configuration sources.

    Declaration
    void Save()
    Exceptions
    Type Condition
    System.ObjectDisposedException

    This method cannot be used after the object has been disposed of.

    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2019-2020 Jonathan Evans
    Version: 0.2.232