Пример #1
0
 //make a logger method
 /// <summary>
 /// Go to the dependency dictionary and grab all the dependency functions with FuncNames and add it to the 
 /// subsystem's SubsystemDependencyFunctions field
 /// </summary>
 /// <param name="Deps"></param>
 /// <param name="FuncNames"></param>
 public void CollectDependencyFuncs(Dependencies Deps, List<string> FuncNames)
 {
     foreach (var Func in FuncNames)
     {
         SubsystemDependencyFunctions.Add(Func, Deps.getDependencyFunc(Func));
     }
 }
Пример #2
0
 /// <summary>
 /// Add the dependency collector to the dependency dictionary
 /// </summary>
 /// <param name="Deps"></param>
 /// <param name="FuncNames"></param>
 public void AddDependencyCollector()
 {
     SubsystemDependencyFunctions.Add("DepCollector", new Func<Event, HSFProfile<double>>(DependencyCollector));
 }