Пример #1
0
        public SerializableProject(Declaration declaration)
        {
            Node = new SerializableDeclaration(declaration);
            var project = (ProjectDeclaration)declaration;

            MajorVersion = project.MajorVersion;
            MinorVersion = project.MinorVersion;
        }
Пример #2
0
 public SerializableDeclarationTree(SerializableDeclaration node, IEnumerable <SerializableDeclarationTree> children)
 {
     Node     = node;
     Children = children;
 }
Пример #3
0
 public SerializableDeclarationTree(SerializableDeclaration node)
     : this(node, Enumerable.Empty <SerializableDeclarationTree>())
 {
 }