/// <summary> /// Loads the given mode data into this <see cref="UserModesCreator"/> /// </summary> public void Parse( MetaBuilders.Irc.Messages.UserModeMessage msg ) { if ( msg == null ) { return; } this.Parse(msg.ModeChanges); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelOperatorStatusRequired( new IrcMessageEventArgs<ChannelOperatorStatusRequiredMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnWallchops( new IrcMessageEventArgs<WallchopsMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnUnknownChannelMode( new IrcMessageEventArgs<UnknownChannelModeMessage>( this ) ); }
/// <summary> /// Validates this message against the given server support /// </summary> public virtual void Validate( MetaBuilders.Irc.ServerSupport serverSupport ) { }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnWhoIsChannelsReply( new IrcMessageEventArgs<WhoIsChannelsReplyMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnNoSuchNick( new IrcMessageEventArgs<NoSuchNickMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnUserNotificationServerSide( new IrcMessageEventArgs<UserNotificationServerSideMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify(MetaBuilders.Irc.Messages.MessageConduit conduit) { conduit.OnUserAway( new IrcMessageEventArgs<UserAwayMessage>( this ) ); }
void _chatClient_DataReceived(object sender, MetaBuilders.Irc.Network.ConnectionDataEventArgs e) { Console.WriteLine(@"IRC Data received: {0}", e.Data); }
void Connection_Disconnected(object sender, MetaBuilders.Irc.Network.ConnectionDataEventArgs e) { Dispatcher.Invoke(new Action(() => IsConnected = false)); WriteLine("Info", "Disconnected"); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelCreationTime( new IrcMessageEventArgs<ChannelCreationTimeMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnWatchStatusNicksReply( new IrcMessageEventArgs<WatchStatusNicksReplyMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnYouAreBanned( new IrcMessageEventArgs<YouAreBannedMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnMonitorListFull( new IrcMessageEventArgs<MonitorListFullMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnWatchedUserOnline( new IrcMessageEventArgs<WatchedUserOnlineMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelPropertyEndReply( new IrcMessageEventArgs<ChannelPropertyEndReplyMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelRequiresRegisteredNick( new IrcMessageEventArgs<ChannelRequiresRegisteredNickMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnMonitoredUserOffline( new IrcMessageEventArgs<MonitoredUserOfflineMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnTooManyChannels( new IrcMessageEventArgs<TooManyChannelsMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelIsInviteOnly( new IrcMessageEventArgs<ChannelIsInviteOnlyMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnAcceptAlreadyExists( new IrcMessageEventArgs<AcceptAlreadyExistsMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnPageRequest( new IrcMessageEventArgs<PageRequestMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnNotOnChannel( new IrcMessageEventArgs<NotOnChannelMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public abstract void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit );
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnNotice( new IrcMessageEventArgs<TextMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnVersionReply( new IrcMessageEventArgs<VersionReplyMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnNoHostPermission( new IrcMessageEventArgs<NoHostPermissionMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnServerInfo( new IrcMessageEventArgs<ServerInfoMessage>( this ) ); }
/// <summary> /// Notifies the given <see cref="MessageConduit"/> by raising the appropriate event for the current <see cref="IrcMessage"/> subclass. /// </summary> public override void Notify( MetaBuilders.Irc.Messages.MessageConduit conduit ) { conduit.OnChannelKeyAlreadySet( new IrcMessageEventArgs<ChannelKeyAlreadySetMessage>( this ) ); }