Ejemplo n.º 1
0
        public QueryAllRouteTablesWorkItemImpl NewQueryAllRouteTablesWorkItem(Package pkg)
        {
            QueryAllRouteTablesWorkItemImpl workItem = new QueryAllRouteTablesWorkItemImpl();

            workItem.Pkg = pkg;
            return(workItem);
        }
Ejemplo n.º 2
0
        public void ProcessQueryAllRouteTablesWorkItem(QueryAllRouteTablesWorkItemImpl workItem)
        {
            IList <RouteTable> routeTables = this.AwsRepository.FindRouteTablesAll();

            foreach (RouteTable routeTable in routeTables)
            {
                this.WorkItemQueue.Enqueue(this.WorkItemFactory.NewCreateRouteTableModelWorkItem(workItem.Pkg, routeTable));
            }
        }