Show / Hide Table of Contents

Class FieldAccessor

Used for accessing a field on a GlobalSettings object

Inheritance
object
FieldAccessor
Implements
IAccessor
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
public class FieldAccessor : IAccessor

Constructors

| Edit this page View Source

FieldAccessor(GlobalSettings, FieldInfo, string, string)

Declaration
public FieldAccessor(GlobalSettings panel, FieldInfo field, string displayName, string description)
Parameters
Type Name Description
GlobalSettings panel
FieldInfo field
string displayName
string description

Fields

| Edit this page View Source

Field

Declaration
public readonly FieldInfo Field
Field Value
Type Description
FieldInfo
| Edit this page View Source

Panel

Declaration
public readonly GlobalSettings Panel
Field Value
Type Description
GlobalSettings

Properties

| Edit this page View Source

Description

A description of the field (if any)

Declaration
public string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

FieldName

The name of the field this accessor is accessing

Declaration
public string FieldName { get; }
Property Value
Type Description
string
| Edit this page View Source

FieldValue

The value of the member field

Declaration
public object FieldValue { get; set; }
Property Value
Type Description
object
| Edit this page View Source

MemberInfo

The member info of the field (if any)

Declaration
public MemberInfo MemberInfo { get; }
Property Value
Type Description
MemberInfo
| Edit this page View Source

MemberType

The type of member this accessor is using

Declaration
public Type MemberType { get; }
Property Value
Type Description
Type

Implements

IAccessor

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾