protected virtual void PlayWildCard(CardValue value, CardColor chosenColor) { if (value != CardValue.Wild && value != CardValue.WildDrawFour) { throw new ArgumentOutOfRangeException("value", value, "value must be Wild or WildDrawFour"); } if (chosenColor == CardColor.Wild) { throw new ArgumentOutOfRangeException("chosenColor", chosenColor, "chosenColor must not be Wild"); } ConnectionManager.SendChannelMessageFormat( Config.UnoChannel, "!play {0} {1}", value.ToFullPlayString(), chosenColor.ToFullPlayString() ); }