Class CustomPropertyAccessor<T>
Used for accessing a property on a GlobalSettings object, where the getter and setters can be customized
Inheritance
CustomPropertyAccessor<T>
Assembly: WeaverCore.dll
Syntax
public class CustomPropertyAccessor<T> : CustomPropertyAccessor_Base, IAccessor
Type Parameters
Constructors
|
Edit this page
View Source
CustomPropertyAccessor(GlobalSettings, Func<T>, Action<T>, string, string)
Declaration
public CustomPropertyAccessor(GlobalSettings panel, Func<T> getter, Action<T> setter, string displayName, string description)
Parameters
Fields
|
Edit this page
View Source
Getter
Declaration
public readonly Func<T> Getter
Field Value
|
Edit this page
View Source
Setter
Declaration
public readonly Action<T> Setter
Field Value
Properties
|
Edit this page
View Source
FieldValue
The value of the member field
Declaration
public override object FieldValue { get; set; }
Property Value
Overrides
|
Edit this page
View Source
MemberType
The type of member this accessor is using
Declaration
public override Type MemberType { get; }
Property Value
Overrides
Implements
Extension Methods