Exemplo n.º 1
0
 public int this[Func <CustomProxy, bool> predicat]
 {
     get
     {
         return(Proxys.FirstOrDefault(predicat).ProcessId);
     }
 }
Exemplo n.º 2
0
 public int this[string characterName]
 {
     get
     {
         return(Proxys.FirstOrDefault(x => x.CharacterSelected.Name == characterName).ProcessId);
     }
 }
Exemplo n.º 3
0
 public CustomProxy this[int processId]
 {
     get
     {
         return(Proxys.FirstOrDefault(x => x.ProcessId == processId));
     }
 }