示例#1
0
 private Container ProcessContainers(ContainerCollection contCollection, string name, Order order, Container parent)
 {
     if (contCollection.Exists(name) == false)
     {
         contCollection[name] = new OME.Storage.Container(this, name, parent);
     }
     OME.Storage.Container currentContainer = contCollection[name];
     currentContainer.ProcessOrder(order);
     return(currentContainer);
 }
示例#2
0
        private Container ProcessContainers(ContainerCollection contCollection, string name, Order order, Container parent)
        {
            //Check for presence of this specific container
            //in case it is not found then create a new container
            if (contCollection.Exists(name) == false)
            {
                contCollection[name] = new OME.Storage.Container(this, name, parent);
            }

            OME.Storage.Container currentContainer = contCollection[name];
            //invoke the order processing on that container
            currentContainer.ProcessOrder(order);
            return(currentContainer);
        }