Click or drag to resize

CachePublisher Class

Editor container used to store cached data, in order to improve performance, for the RawSubscription elements inside of the Publisher drawer
Inheritance Hierarchy

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public class CachePublisher : Cache

The CachePublisher type exposes the following members.

Constructors
  NameDescription
Public methodCachePublisher
Initializes a new instance of the CachePublisher class
Top
Properties
Methods
  NameDescription
Public methodcache(String) (Overrides Cachecache(String).)
Public methodcache(Object) (Overrides Cachecache(Object).)
Protected methodcache(FieldInfo, ListString, ListString, ListCachedParameter, HashSetString, String, Int32)
Caches variable data for the "method" drop-down, determines dynamic status if it matches the _publisherTypes signature, and determines the selected index
Protected methodcache(MethodInfo, ListString, ListString, ListCachedParameter, HashSetString, String, Int32)
Caches method data for the "method" drop-down, determines dynamic status if it matches the _publisherTypes signature, and determines the selected index
Protected methodcache(PropertyInfo, ListString, ListString, ListCachedParameter, HashSetString, String, Int32)
Caches property data for the "method" drop-down, determines dynamic status if it matches the _publisherTypes signature, and determines the selected index
Public methodcacheSubscriber(String)
Caches a readable drop-down list of the selected owner's Subscriber variables, and determines the currently selected variable
Public methodcacheSubscriber(Object)
Caches a readable drop-down list of possible objects that own Subscriber variables, determines selected Subscriber owner, and adjusts Subscriber variable drop-down accordingly
Public methodclear
Clears the target, method and Subscriber data from memory
(Overrides Cacheclear.)
Public methodclearSubscribers
Clears the Subscriber data from memory
Public methodhasDynamicMethod
Checks if a method can be treated as a dynamic delegate
Protected methodvalidateSubscriber
Checks if tType contains a Subscriber variable (including non-public)
Top
Fields
  NameDescription
Protected field_dynamicMethods
Container for method names that are allowed to be dynamic
Protected field_methodParameters
Cached method parameter info that correspond to each drop-down element, used for displaying predefined arguments
Protected field_publisherTypes
Cached type signature of the associated Publisher, used for validation
Protected field_subscriberOwnerNames
Display names of all the objects containing Subscribers, used by a drop-down
Protected field_subscriberOwnerObjects
Corresponding object references for each of the _subscriberOwnerNames
Protected field_subscriberVariables
Display names of all the Subscribers in the selected owner, used by a drop-down
Public fieldselectedSubscriberOwner
Current index for the active drop-down Subscriber owner
Public fieldselectedSubscriberVariable
Current index for the active drop-down Subscriber variable
Top
See Also