CQRS.Tests.CQRS.EventSourcing.EventRefactoring.Migrations.EventStreamMutatorTests.ClearEventstoreCache C# (CSharp) 메소드

ClearEventstoreCache() 보호된 메소드

protected ClearEventstoreCache ( WindsorContainer container ) : void
container WindsorContainer
리턴 void
        protected void ClearEventstoreCache(WindsorContainer container)
        {
            if(EventStoreType == typeof(SqlServerEventStore))
            {
                container.ExecuteUnitOfWorkInIsolatedScope(() => ((SqlServerEventStore)container.Resolve<IEventStore>()).ClearCache());
            }
        }