Exemplo n.º 1
0
        /// <summary>
        /// Removed the given token from the local player
        /// </summary>
        /// <param name="token"></param>
        /// <returns></returns>
        public bool RemoveToken(string token)
        {
            if (token == null)
            {
                throw new ArgumentNullException("token", "Cannot remove a null token");
            }

            return(_tokens.RemoveToken(token));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Remove a token from the set for this trigger
 /// </summary>
 /// <param name="token"></param>
 /// <returns>A value indicating if the given token was removed (false if the set never contained the token in the first place)</returns>
 public bool RemoveToken(string token)
 {
     return(_tokens.RemoveToken(token));
 }