Example #1
0
 public RequestConfigModuleEntity GetModule(string module)
 {
     if (ModuleDic.ContainsKey(module))
     {
         return(ModuleDic[module]);
     }
     return(null);
 }
Example #2
0
        public string ToDiagnosticLongString()
        {
            string output = "(Id: " + Id + ", " + State + ", ep connected: " + Endpoint.Connected + ")\n";

            output += "     modules: " + String.Join(", ", ModuleDic.Where(p => p.Value).Select(p => p.Key));

            return(output);
        }