Click or drag to resize

RequestBase Class

Acts as a delegate wrapper that will automatically create Subscriptions when a Publisher is created and has matching tag hashes
Inheritance Hierarchy
SystemObject
  EventsPlusRequestBase
    More...

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public abstract class RequestBase : IRequest

The RequestBase type exposes the following members.

Constructors
  NameDescription
Public methodRequestBase
Initializes a new instance of the RequestBase class
Top
Properties
  NameDescription
Public propertysubscriber
Public propertytagHashes
Gets tag hashes in list format, sets tag hashes additively
Public propertytags
Sets _tagHashes from array of strings
Top
Methods
  NameDescription
Public methodaddPublisher
Adds a Publisher if it passes validation
Public methodaddTag
Adds a tag hash to listen to for matching Publishers, registers to the Manager and determines if managed Publishers can already be subscribed to
Public methodclear
Clears all managed tag hashes and Publishers
Public methodclearPublishers
Clears all subscribed Publishers
Public methodclearTags
Clears all managed tag hashes
Public methodcreateSubscription
Creates a Subscription from this Request
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodhasTag
Checks if this already contains a managed tag hash
Protected methodonPublisherSet
Callback from the Manager for when a Publisher is set, will add/remove a Publisher accordingly
Public methodremovePublisher
Removes a Publisher
Public methodremoveTag
Removes a listening tag hash, unregisters from Manager if there are none
Public methodvalidatePublisher
Checks to see if a Publisher has a valid, matching tag hash and is a matching type
Top
Fields
  NameDescription
Protected field_publishers
Subscribed Publishers
Protected field_subscriber
Immutable owning Subscriber
Protected field_tagHashes
Managed tag hashes to pair up with potential Publishers
Top
See Also
Inheritance Hierarchy
SystemObject
  EventsPlusRequestBase
    EventsPlusRequest
    EventsPlusRequestA
    EventsPlusRequestA, B
    EventsPlusRequestA, B, C
    EventsPlusRequestA, B, C, D
    EventsPlusRequestA, B, C, D, E
    EventsPlusRequestA, B, C, D, E, F