/// <summary>
 /// Libera o <c>Windsor Container</c>.
 /// A implementação padrão apenas chama
 /// <see cref="IDisposable.Dispose"/>.
 /// <seealso cref="IWindsorContainer"/>
 /// </summary>
 protected virtual void DisposeWindsorContainer()
 {
     using (new WebApplicationLock(this))
         if (StoredContainer != null && (--WindsorReferenceCount == 0))
         {
             StoredContainer.Dispose();
             StoredContainer = null;
         }
 }
 protected override void PopulateData()
 {
     using (var session = Domain.OpenSession())
         using (var tx = session.OpenTransaction()) {
             var c = new Container();
             _ = new StoredContainer {
                 Container = c, CreationTime = new DateTime(2012, 1, 1), Address = "1"
             };
             _ = new StoredContainer {
                 Container = c, CreationTime = new DateTime(2012, 1, 2), Address = "2"
             };
             _ = new StoredContainer {
                 Container = c, CreationTime = new DateTime(2012, 1, 3), Address = "3"
             };
             tx.Complete();
         }
 }