DevToys logo DevToys
  • Home
  • Blog
  • Documentation
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SettingChangedEventArgs

    Represents the arguments of an event raised when an app setting change.

    Inheritance
    object
    EventArgs
    SettingChangedEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DevToys.Api
    Assembly: DevToys.Api.dll
    Syntax
    public sealed class SettingChangedEventArgs : EventArgs

    Constructors

    SettingChangedEventArgs(string, object?)

    Initializes a new instance of the SettingChangedEventArgs class.

    Declaration
    public SettingChangedEventArgs(string settingName, object? newValue)
    Parameters
    Type Name Description
    string settingName

    The name of the setting that changed.

    object newValue

    The new value of the setting.

    Properties

    NewValue

    Gets the new value of the setting.

    Declaration
    public object? NewValue { get; }
    Property Value
    Type Description
    object

    SettingName

    Gets the name of the setting that changed.

    Declaration
    public string SettingName { get; }
    Property Value
    Type Description
    string

    Extension Methods

    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys