Subscribe a user.

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

Syntax

C#
public virtual bool Subscribe<T>(
	Nullable<Guid> userId,
	string email,
	T arguments
)
Visual Basic
Public Overridable Function Subscribe(Of T) ( 
	userId As Nullable(Of Guid),
	email As String,
	arguments As T
) As Boolean
Visual C++
public:
generic<typename T>
virtual bool Subscribe(
	Nullable<Guid> userId, 
	String^ email, 
	T arguments
)
F#
abstract Subscribe : 
        userId : Nullable<Guid> * 
        email : string * 
        arguments : 'T -> bool 
override Subscribe : 
        userId : Nullable<Guid> * 
        email : string * 
        arguments : 'T -> 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: Boolean
True if subscribed, otherwise False

See Also