Show / Hide Table of Contents

Class CustomFunctionAccessor

Used for accessing a function on a GlobalSettings object

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

Constructors

| Edit this page View Source

CustomFunctionAccessor(GlobalSettings, Action, string, string)

Declaration
public CustomFunctionAccessor(GlobalSettings panel, Action action, string displayName, string description)
Parameters
Type Name Description
GlobalSettings panel
Action action
string displayName
string description

Fields

| Edit this page View Source

Panel

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

Property

Declaration
public readonly PropertyInfo Property
Field Value
Type Description
PropertyInfo

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
☀
☾