NServiceBus.UnsubscribeContext.UnsubscribeContext C# (CSharp) Method

UnsubscribeContext() public method

public UnsubscribeContext ( IBehaviorContext parentContext, Type eventType, UnsubscribeOptions options ) : System
parentContext IBehaviorContext
eventType System.Type
options UnsubscribeOptions
return System
        public UnsubscribeContext(IBehaviorContext parentContext, Type eventType, UnsubscribeOptions options)
            : base(parentContext)
        {
            Guard.AgainstNull(nameof(parentContext), parentContext);
            Guard.AgainstNull(nameof(eventType), eventType);
            Guard.AgainstNull(nameof(options), options);

            parentContext.Extensions.Merge(options.Context);

            EventType = eventType;
        }
UnsubscribeContext