Brnkly.Raven.DocumentStoreFactory.ReadOnlyOpsStore_ConnectionStatusCahnged C# (CSharp) Метод

ReadOnlyOpsStore_ConnectionStatusCahnged() приватный Метод

private ReadOnlyOpsStore_ConnectionStatusCahnged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void ReadOnlyOpsStore_ConnectionStatusCahnged(object sender, EventArgs e)
        {
            if (!this.isInitialized)
            {
                return;
            }

            if (this.readOnlyOpsStore.Changes().Connected)
            {
                logger.Info("Connected to ReadOnly operations store at {0}.", this.readOnlyOpsStore.Url);
            }
            else
            {
                logger.Warn("Lost connection to ReadOnly operations store at {0}.", this.readOnlyOpsStore.Url);
            }

            this.ApplyRavenConfig();
        }