Click or drag to resize

CacheRawDelegate Class

Stores cached data for delegate drop-downs; used by the delegate inspector drawers
Inheritance Hierarchy

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6794.2298
Syntax
C#
public class CacheRawDelegate

The CacheRawDelegate type exposes the following members.

Constructors
  NameDescription
Public methodCacheRawDelegate
Initializes a new instance of the CacheRawDelegate class
Top
Properties
  NameDescription
Public propertymember
Gets the selected member
Public propertymemberNames
Gets the _memberNames of the selected target
Public propertymemberSerializedName
Gets the selected member name
Public propertyselectedMember
Gets/Sets the _selectedMember
Public propertyselectedTarget
Gets/Sets the _selectedTarget; if set, regenerates the target's members
Public propertytarget
Gets/Sets the selected target object; if set, regenerates the target's members
Public propertytargetNames
Gets the display _targetNames
Top
Methods
  NameDescription
Public methodfindMember
Finds the index of a serialized member name within the _members list
Protected methodgenerateTargets
Generates a drop-down list of a target's relatives and output display names
Public methodvalidateMember
Checks for discrepancies between the SerializedProperty and the cached data; tries to match the cache to the property
Public methodvalidateTarget
Checks for discrepancies between the SerializedPropertys and the cached data; tries to match the cache to the properties
Top
Fields
  NameDescription
Protected field_memberNames
Display names of each of the members belonging to the selected target
Protected field_members
Cached members belonging to the selected target
Protected field_selectedMember
Index of the currently selected member
Protected field_selectedTarget
Index of the currently selected target
Protected field_targetNames
Display names of each target in a drop-down
Protected field_targets
Cached target objects
Top
See Also