Table of Contents

Method Unsubscribe

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

Unsubscribe<TEvent, TFactory>(NwObject?, Action<TEvent>, EventCallbackType)

public void Unsubscribe<TEvent, TFactory>(NwObject? nwObject, Action<TEvent> handler, EventCallbackType eventCallbackType = EventCallbackType.Before) where TEvent : IEvent, new() where TFactory : IEventFactory

Parameters

nwObject NwObject
handler Action<TEvent>
eventCallbackType EventCallbackType

Type Parameters

TEvent
TFactory