Show / Hide Table of Contents

Class MethodAccessor

Used for accessing a method on a GlobalSettings object

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

Constructors

| Edit this page View Source

MethodAccessor(GlobalSettings, MethodInfo, string, string)

Declaration
public MethodAccessor(GlobalSettings panel, MethodInfo method, string displayName, string description)
Parameters
Type Name Description
GlobalSettings panel
MethodInfo method
string displayName
string description

Fields

| Edit this page View Source

Method

Declaration
public readonly MethodInfo Method
Field Value
Type Description
MethodInfo
| 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

Methods

| Edit this page View Source

CallMethod(object[])

Declaration
public void CallMethod(object[] parameters)
Parameters
Type Name Description
object[] parameters

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