IEventSubscription

IEventSubscription Interface

Token representing an event subscription.

Syntax

public interface IEventSubscription

Remarks

Manages existing events.

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0

Members

Public Properties

[read-only]
 
Active bool . Is this subscription is still listening for events.

Public Methods

 
Unsubscribe ()
Removes this subscription.

Member Details

Active Property

Is this subscription is still listening for events.

Syntax

public bool Active { get; }

Value

Will return false if this subscription has been unsubscribed or is not persistent and an event has been generated.

Remarks

 

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0

Unsubscribe Method

Removes this subscription.

Syntax

public void Unsubscribe ()

Remarks

Events which have already been queued but not sent may be generated after this call.

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.