Example #1
0
 public bool TryGet(string name, out PhotonServerDefinition server)
 {
     server = Definitions.FirstOrDefault(x => string.Equals(x.Name, name, StringComparison.OrdinalIgnoreCase));
     return(server != null);
 }
Example #2
0
 public void Add(PhotonServerDefinition definition)
 {
     Definitions.Add(definition);
 }