Пример #1
0
 public IProtocol Protocol(SpielType @type)
 {
     return Protocols.Where(x => x.ProtocolType == @type).DefaultIfEmpty(new NullProtocol()).First();
 }
 public IProtocol Protocol(SpielType x)
 {
     return new NullProtocol();
 }
Пример #3
0
 public IProtocol Protocol(SpielType x)
 {
     throw new System.NotImplementedException();
 }