Check if user subscription is active.

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

Syntax

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

Parameters

parentEntityType
Type: System..::..Type
Parent entity type
parentEntityId
Type: System..::..Guid
Parent entity id
userId
Type: System..::..Nullable<(Of <(<'Guid>)>)>
User id
email
Type: System..::..String
E-mail

Return Value

Type: Nullable<(Of <(<'Boolean>)>)>
True if active, otherwise False

Implements

ISubscribeRepository..::..IsActive(Type, Guid, Nullable<(Of <<'(Guid>)>>), String)

See Also