AggregateSource.EventStore.Framework.EmbeddedEventStore.Stop C# (CSharp) Метод

Stop() публичный статический Метод

public static Stop ( ) : void
Результат void
        public static void Stop()
        {
            var connection = Connection;
            if (connection != null)
            {
                connection.Close();
                connection.Dispose();
                Connection = null;
            }
            var node = Node;
            if (node != null)
            {
                node.Stop();
                Node = null;
            }
            Credentials = null;
        }

Usage Example

 public void AfterTest(TestDetails testDetails)
 {
     EmbeddedEventStore.Stop();
 }
All Usage Examples Of AggregateSource.EventStore.Framework.EmbeddedEventStore::Stop
EmbeddedEventStore