Example #1
0
 public ProcessInfo PassMeDataofThisPid(int processid)
 {
     if (_processList.ContainsKey(processid))
         return _processList[processid];
     else
     {
         //Adding new Key to Db
         var requestedData = new ProcessInfo(processid);
         _processList.Add(processid, requestedData);
         return requestedData;
     }
 }
Example #2
0
 public void AddKey(ProcessInfo processName, int processid)
 {
     _processList.Add(processid, processName);
 }
Example #3
0
 public void AddKey(ProcessInfo processName, int processid)
 {
     _processList.Add(processid, processName);
 }