Search Results for

    Show / Hide Table of Contents

    Class AccessedThroughPropertyAttribute

    Specifies the name of the property that accesses the attributed field.

    Inheritance
    object
    Attribute
    AccessedThroughPropertyAttribute
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: System.Runtime.CompilerServices
    Assembly: mscorlib.dll
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public sealed class AccessedThroughPropertyAttribute : Attribute

    Constructors

    AccessedThroughPropertyAttribute(string)

    Initializes a new instance of the AccessedThroughPropertyAttribute class with the name of the property used to access the attributed field.

    Declaration
    public AccessedThroughPropertyAttribute(string propertyName)
    Parameters
    Type Name Description
    string propertyName

    The name of the property used to access the attributed field.

    Properties

    PropertyName

    Gets the name of the property used to access the attributed field.

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

    The name of the property used to access the attributed field.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX