Can AstNode implement IXmlSerializable?

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by Brad S. - MedAssets, Inc.
Version: 4.0.0282
Avatar
I'm trying to get my AstNode to implement IXmlSerializable but it's not working. Here's my relevant grammar file node:
    <AstNodes>

      <AstNode Implements="IXmlSerializable" />
      
      <!-- blah blah blah -->

    <AstNodes>
Which results in this:
    public abstract partial class AstNode : ActiproSoftware.SyntaxEditor.AstNodeBase
    {
        // blah blah blah
    }
I was expecting this:
    public abstract partial class AstNode : ActiproSoftware.SyntaxEditor.AstNodeBase, IXmlSerializable
    {
        // blah blah blah
    }
Does the root AstNode class support the "Implements" attribute? If not, I can just use a custom AstVisitor but I was hoping to keep it close to the standard XML interfaces.

Thanks,
Brad

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Brad,

Thanks, we've fixed this for the next maintenance release.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.