public override void ConnectionInitialization(ConnectionInitEventData eventData) { ConnectionInitializationCounter++; if (instanceMarker != UniqueInstanceIdentifier) { throw new Exception("Not the same instance"); } }
public override Task ConnectionInitializationAsync(ConnectionInitEventData eventData, CancellationToken cancellationToken) { OpeningInitAsyncCounter++; return(base.ConnectionInitializationAsync(eventData, cancellationToken)); }
public override void ConnectionInitialization(ConnectionInitEventData eventData) { OpeningInitCounter++; }