SystemExt/TokenList.cs
/// <summary>
/// Remove the specified token from the list.
/// </summary>
/// <param name="token">
/// The token to remove.
/// </param>
Remove the specified token from the list.
Remove the specified token from the list .
public void RemoveToken(string token)
        {
            if (token == null)
                throw new ArgumentNullException("token");
            if (token == "*")
            {
                this.IsPermissive = false;
                this.Tokens.Clear();
                return;
            }
            if (this.IsPermissive)
                this.Tokens.Add(token);
            else
                this.Tokens.Remove(token);
        }
public void RemoveToken ( string token ) { if ( token == null ) throw new ArgumentNullException ( " " ) ; if ( token == " " ) { this . IsPermissive = false ; this . Tokens . Clear ( ) ; return ; } if ( this . IsPermissive ) this . Tokens . Add ( token ) ; else this . Tokens . Remove ( token ) ; }
Remove the specified token from the list.
Remove the specified token from the list .
// Check whether this token is a wildcard entry. // If we are in permissive mode then add the token to the // token list. Otherwise, remove it from the token list.
token
string
The token to remove.
The token to remove .