Ejemplo n.º 1
0
            public Ω(ClusterBuilder owner)
            {
                this.owner = owner;

                container = new Container();
                container.AddClusterDefauls();
                wrapper = new FunqContainerWrapper(container);
            }
Ejemplo n.º 2
0
            public IContainer Register()
            {
                ThrowIfReadOnly();

                try
                {
                    ClusterManager.CacheCluster(owner.Name, container);

                    return(new FunqContainerWrapper(container));
                }
                finally
                {
                    container = null;
                    owner     = null;
                }
            }
Ejemplo n.º 3
0
 public Ω(ClusterBuilder owner)
 {
     this.owner     = owner;
     this.container = new Container();
     this.container.AddClusterDefauls();
 }