Check if user subscription is active.

Namespace: MonoSoftware.MonoX.SubscribeEngine
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual Nullable<bool> IsActive<T>(
	Nullable<Guid> userId,
	string email,
	T arguments
)
Visual Basic
Public Overridable Function IsActive(Of T) ( 
	userId As Nullable(Of Guid),
	email As String,
	arguments As T
) As Nullable(Of Boolean)
Visual C++
public:
generic<typename T>
virtual Nullable<bool> IsActive(
	Nullable<Guid> userId, 
	String^ email, 
	T arguments
)
F#
abstract IsActive : 
        userId : Nullable<Guid> * 
        email : string * 
        arguments : 'T -> Nullable<bool> 
override IsActive : 
        userId : Nullable<Guid> * 
        email : string * 
        arguments : 'T -> Nullable<bool> 

Parameters

userId
Type: System..::..Nullable<(Of <(<'Guid>)>)>
User Id
email
Type: System..::..String
Email
arguments
Type: T
Event arguments

Type Parameters

T
Type of the event arguments

Return Value

Type: Nullable<(Of <(<'Boolean>)>)>
True if active, otherwise False and null if no subscription at all

See Also