public void AddProfileIfNotExists(ProfileRecord pr) { if (!dict_profiles.ContainsKey(pr.ProfileName)) { dict_profiles.Add(pr.ProfileName, pr); } }
public bool TryGetProfille(string name, out ProfileRecord profile) { return(dict_profiles.TryGetValue(name, out profile)); }