Пример #1
0
 public int this[Func <CustomProxy, bool> predicat]
 {
     get
     {
         return(Proxys.FirstOrDefault(predicat).ProcessId);
     }
 }
Пример #2
0
 public int this[string characterName]
 {
     get
     {
         return(Proxys.FirstOrDefault(x => x.CharacterSelected.Name == characterName).ProcessId);
     }
 }
Пример #3
0
 public CustomProxy this[int processId]
 {
     get
     {
         return(Proxys.FirstOrDefault(x => x.ProcessId == processId));
     }
 }