Click or drag to resize

RawSubscriptionT Class

Serializable reflection data that gets converted into a Subscription by a Publisher
Inheritance Hierarchy
SystemObject
  EventsPlusRawSubscriptionT
    EventsPlusRawSubscription

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public class RawSubscription<T> : IRawSubscription<T>, 
	IRawSubscription
where T : RawArgument

Type Parameters

T

The RawSubscriptionT type exposes the following members.

Constructors
  NameDescription
Public methodRawSubscriptionT
Initializes a new instance of the RawSubscriptionT class
Top
Properties
  NameDescription
Public propertyarguments
Public propertyisDynamic
Public propertysubscriber
Tries to return a Subscriber instance via reflection using the _subscriberOwner and _subscriberVariable
Public propertysubscriberOwner
Public propertysubscriberVariable
Public propertytarget
Public propertytargetMethod
Top
Methods
  NameDescription
Public methodcreateAndRegister
Tries to create and register a Subscription if a Subscriber could be found or a basic delegate if the Subscriber is left empty
Public methodcreateDelegate
Tries to create a delegate from this raw form
Protected methodcreateDelegate(FieldInfo)
Tries to create a delegate from this raw form that targets a variable
Protected methodcreateDelegate(PropertyInfo)
Tries to create a delegate from this raw form that targets a property
Protected methodcreateDelegate(MethodInfo, Type)
Tries to create a delegate from this raw form that targets a method
Protected methodcreateDynamicSubscription
Tries to create a Subscription from this raw form that targets a dynamic method without predefined arguments
Public methodcreateSubscription(IPublisher, ISubscriber)
Tries to create a Subscription from this raw form
Protected methodcreateSubscription(IPublisher, ISubscriber, FieldInfo)
Tries to create a Subscription from this raw form that targets a variable
Protected methodcreateSubscription(IPublisher, ISubscriber, PropertyInfo)
Tries to create a Subscription from this raw form that targets a property
Protected methodcreateSubscription(IPublisher, ISubscriber, MethodInfo, Type)
Tries to create a Subscription from this raw form that targets a method
Top
Fields
  NameDescription
Protected field_arguments
Raw arguments for when the target method is not dynamic
Protected field_isDynamic
Whether the target method should be considered a dynamic invocation or treated as predefined call
Protected field_subscriberOwner
Optional object instance that contains a Subscriber variable
Protected field_subscriberVariable
Variable name of the Subscriber contained inside of the Subscriber owner instance
Protected field_target
Target object containing the target method
Protected field_targetMethod
Method description belonging to the target
Top
See Also