Click or drag to resize

PublisherBaseaddSubscription Method

Adds a Subscription and registers it to the internal event if it passes validation

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public virtual bool addSubscription(
	ISubscription tSubscription,
	bool tIsPreValidated = false
)

Parameters

tSubscription
Type: EventsPlusISubscription
Subscription to be added
tIsPreValidated (Optional)
Type: SystemBoolean
Skips the validation if true, assuming it was already validated

Return Value

Type: Boolean
True if tSubscription doesn't already exist and successfully added

Implements

IPublisheraddSubscription(ISubscription, Boolean)
See Also