Пример #1
0
 public void Add(M_Article article, OpenNode <T> openNode)
 {
     if (openNode.GetOpenNode().GetType() != typeof(StockExchangeDemand))
     {
         throw new MrpRunException("An open provider can only be a StockExchangeDemand.");
     }
     InitOpenProvidersDictionary(article);
     _openNodes[article].Push(openNode);
 }
Пример #2
0
 public void Remove(OpenNode <T> node)
 {
     _openNodes[node.GetArticle()].Remove(node);
 }