/// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     if ( Channels.Count != 0 )
     {
         writer.AddList( Channels, ",", true );
     }
 }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddParameter( this.Nick );
     if ( this.Channels.Count != 0 )
     {
         writer.AddList( this.Channels, " ", false );
     }
 }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddList( this.Nicks, " " );
 }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddList( Channels, ",", true );
     if ( Reason.Length != 0 )
     {
         writer.AddParameter( Reason );
     }
 }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddParameter( this.Channel );
     writer.AddList( this.Targets, ",", false );
     writer.AddParameter( this.Text, true );
 }
        /// <summary>
        /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>
        /// </summary>
        protected override void AddParametersToFormat( IrcMessageWriter writer )
        {
            base.AddParametersToFormat( writer );

            StringCollection paramsToString = new StringCollection();
            foreach ( String name in this.SupportedItems.Keys )
            {
                String value = this.SupportedItems[ name ];
                if ( value.Length != 0 )
                {
                    paramsToString.Add( name + "=" + this.SupportedItems[ name ] );
                }
                else
                {
                    paramsToString.Add( name );
                }
            }
            writer.AddList( paramsToString, " ", false );
            writer.AddParameter( areSupported );
        }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddList( this.Data, " ", false );
 }
        /// <summary>
        /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>
        /// </summary>
        protected override void AddParametersToFormat( IrcMessageWriter writer )
        {
            base.AddParametersToFormat( writer );
            StringCollection allNicks = new StringCollection();
            foreach ( String rNick in RemovedNicks )
            {
                allNicks.Add( "-" + rNick );
            }
            foreach ( String aNick in AddedNicks )
            {
                allNicks.Add( aNick );
            }

            writer.AddList( allNicks, ",", true );
        }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     if ( this.IsIrcxClientMode )
     {
         writer.AddParameter( "1" );
     }
     else
     {
         writer.AddParameter( "0" );
     }
     writer.AddParameter( this.Version );
     writer.AddList( this.AuthenticationPackages, ",", false );
     writer.AddParameter( this.MaximumMessageLength.ToString( CultureInfo.InvariantCulture ) );
     writer.AddParameter( this.Tokens );
 }
        /// <summary>
        /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
        /// </summary>
        protected override void AddParametersToFormat( IrcMessageWriter writer )
        {
            base.AddParametersToFormat( writer );

            StringCollection options = new StringCollection();
            if ( MaxUsers >= 0 )
            {
                options.Add( "<" + MaxUsers.ToString( CultureInfo.InvariantCulture ) );
            }
            if ( MinUsers >= 0 )
            {
                options.Add( ">" + MinUsers.ToString( CultureInfo.InvariantCulture ) );
            }
            if ( YoungerThan >= 0 )
            {
                options.Add( "C<" + YoungerThan.ToString( CultureInfo.InvariantCulture ) );
            }
            if ( OlderThan >= 0 )
            {
                options.Add( "C>" + OlderThan.ToString( CultureInfo.InvariantCulture ) );
            }
            if ( !string.IsNullOrEmpty( MatchMask ) )
            {
                options.Add( "*" + MatchMask + "*" );
            }
            if ( !String.IsNullOrEmpty( NotMatchMask ) )
            {
                options.Add( "!*" + NotMatchMask + "*" );
            }
            if ( TopicOlderThan >= 0 )
            {
                options.Add( "T>" + TopicOlderThan.ToString( CultureInfo.InvariantCulture ) );
            }
            if ( TopicYoungerThan >= 0 )
            {
                options.Add( "T<" + TopicYoungerThan.ToString( CultureInfo.InvariantCulture ) );
            }

            if ( options.Count > 0 )
            {
                writer.AddList( options, ",", false );
            }
            else if ( Channels.Count != 0 )
            {
                writer.AddList( Channels, ",", false );
                if ( Server.Length != 0 )
                {
                    writer.AddParameter( Server );
                }
            }
        }
 /// <summary>
 /// Overrides <see cref="IrcMessage.AddParametersToFormat"/>.
 /// </summary>
 protected override void AddParametersToFormat( IrcMessageWriter writer )
 {
     base.AddParametersToFormat( writer );
     writer.AddParameter( this.Server );
     writer.AddList( this.Masks, ",", true );
 }