Пример #1
0
 public void FillCollections(ref IActionCollection actionCollection, ref IConsiderationCollection considerationCollection)
 {
     foreach (var keyvalue in m_loaders)
     {
         var key         = keyvalue.Key;
         var loader      = keyvalue.Value;
         var dicoActions = loader.Actions;
         foreach (var keyvalueAction in dicoActions)
         {
             var keyAction = keyvalueAction.Key;
             var deleg     = keyvalueAction.Value;
             var id        = new InfoId()
             {
                 NamespaceId = key, NameId = keyAction
             };
             var newAction = new DynamicAction(id, deleg);
             //actionCollection.Add(newAction);
         }
         var dicoConsiderations = loader.Considerations;
         foreach (var keyvalueConsideration in dicoConsiderations)
         {
             var keyConsideration = keyvalueConsideration.Key;
             var deleg            = keyvalueConsideration.Value;
             var id = new InfoId()
             {
                 NamespaceId = key, NameId = keyConsideration
             };
             var newConsideration = new DynamicConsideration(id, deleg);
             //considerationCollection.Add(newConsideration);
         }
     }
 }
Пример #2
0
 public DynamicConsideration(DynamicConsideration otherConsideration)
 {
 }