Skip to content

Subscription

Namespace Mc.Scripting · Kind class (sealed)

public sealed class Subscription : IDisposable, IPluginResource

An active event subscription. Dispose to unsubscribe.

Member Description
bool IsActive { get; } Whether the subscription is still active.
public bool IsActive { get; }

Whether the subscription is still active.

Member Description
void Dispose() Unsubscribes the listener.
public void Dispose()

Unsubscribes the listener.

IPluginResource