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