コード例 #1
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");

            return table.ToByteData();
        }
コード例 #2
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            return(table.ToByteData());
        }
コード例 #3
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <HeaderFieldName></HeaderFieldName>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("HeaderFieldName",m_HeaderFieldName);

            return table.ToByteData();
        }
コード例 #4
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <EmailAddress></EmailAddress>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("EmailAddress",m_Email);

            return table.ToByteData();
        }
コード例 #5
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <ErrorText></ErrorText>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("ErrorText",m_ErrorText);

            return table.ToByteData();
        }
コード例 #6
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Folder></Folder>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Folder", m_Folder);

            return(table.ToByteData());
        }
コード例 #7
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <ErrorText></ErrorText>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("ErrorText", m_ErrorText);

            return(table.ToByteData());
        }
コード例 #8
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <HeaderFieldName></HeaderFieldName>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("HeaderFieldName", m_HeaderFieldName);

            return(table.ToByteData());
        }
コード例 #9
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Email></Email>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Email", m_EmailAddress);

            return(table.ToByteData());
        }
コード例 #10
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <From></From>
                        <Message></Message>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("From"   ,m_From);
            table.Add("Message",System.Text.Encoding.Default.GetString(m_Message));

            return table.ToByteData();
        }
コード例 #11
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <Program></Program>
                        <Arguments></Arguments>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("Program"  ,m_Program);
            table.Add("Arguments",m_ProgramArgs);

            return table.ToByteData();
        }
コード例 #12
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <URL></URL>
                        <FileName></FileName>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("URL"     ,m_Url);
            table.Add("FileName","");

            return table.ToByteData();
        }
コード例 #13
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <Host></Host>
                        <Port></Port>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("Host",m_Host);
            table.Add("Port",m_Port.ToString());

            return table.ToByteData();
        }
コード例 #14
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <URL></URL>
             *          <FileName></FileName>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("URL", m_Url);
            table.Add("FileName", "");

            return(table.ToByteData());
        }
コード例 #15
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <From></From>
             *          <Message></Message>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("From", m_From);
            table.Add("Message", System.Text.Encoding.Default.GetString(m_Message));

            return(table.ToByteData());
        }
コード例 #16
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Program></Program>
             *          <Arguments></Arguments>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Program", m_Program);
            table.Add("Arguments", m_ProgramArgs);

            return(table.ToByteData());
        }
コード例 #17
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Host></Host>
             *          <Port></Port>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Host", m_Host);
            table.Add("Port", m_Port.ToString());

            return(table.ToByteData());
        }
コード例 #18
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Server></Server>
             *          <Port></Server>
             *          <User></User>
             *          <Password></Password>
             *          <Folder></Folder>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Server", m_Server);
            table.Add("Port", m_Port.ToString());
            table.Add("User", m_UserName);
            table.Add("Password", m_Password);
            table.Add("Folder", m_Folder);

            return(table.ToByteData());
        }
コード例 #19
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Server></Server>
             *          <Port></Server>
             *          <User></User>
             *          <Password></Password>
             *          <Newsgroup></Newsgroup>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Add("Server", m_Server);
            table.Add("Port", m_Port.ToString());
            table.Add("User", "");
            table.Add("Password", "");
            table.Add("Newsgroup", m_Newsgroup);

            return(table.ToByteData());
        }
コード例 #20
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <Server></Server>
                        <Port></Server>
                        <User></User>
                        <Password></Password>
                        <Folder></Folder>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("Server"  ,m_Server);
            table.Add("Port"    ,m_Port.ToString());
            table.Add("User"    ,m_UserName);
            table.Add("Password",m_Password);
            table.Add("Folder"  ,m_Folder);

            return table.ToByteData();
        }
コード例 #21
0
        /// <summary>
        /// Serialices action object.
        /// </summary>
        /// <returns>Returns serialized action data.</returns>
        internal override byte[] Serialize()
        {
            /*  Action data structure:
                    <ActionData>
                        <Server></Server>
                        <Port></Server>
                        <User></User>
                        <Password></Password>
                        <Newsgroup></Newsgroup>
                    </ActionData>
            */

            XmlTable table = new XmlTable("ActionData");
            table.Add("Server"   ,m_Server);
            table.Add("Port"     ,m_Port.ToString());
            table.Add("User"     ,"");
            table.Add("Password" ,"");
            table.Add("Newsgroup",m_Newsgroup);

            return table.ToByteData();
        }