public XElement Serialize(MessageLineBreak messageLineBreak, string elementName = "lineBreak")
        {
            messageLineBreak.ThrowIfNull("messageLineBreak");
            elementName.ThrowIfNull("elementName");

            return new XElement(elementName);
        }
コード例 #2
0
        public byte[] Serialize(MessageLineBreak messageLineBreak)
        {
            messageLineBreak.ThrowIfNull("messageLineBreak");

            return new CompactSerializer().Serialize();
        }