Esempio n. 1
0
        public SerializableProject(Declaration declaration)
        {
            Node = new SerializableDeclaration(declaration);
            var project = (ProjectDeclaration)declaration;

            MajorVersion = project.MajorVersion;
            MinorVersion = project.MinorVersion;
        }
Esempio n. 2
0
 public SerializableDeclarationTree(SerializableDeclaration node, IEnumerable <SerializableDeclarationTree> children)
 {
     Node     = node;
     Children = children;
 }
Esempio n. 3
0
 public SerializableDeclarationTree(SerializableDeclaration node)
     : this(node, Enumerable.Empty <SerializableDeclarationTree>())
 {
 }