예제 #1
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add("m_PreQ", PreQ.ExportYAML(container));
            node.Add("m_PostQ", PostQ.ExportYAML(container));
            node.Add("m_Sgn", Sgn.ExportYAML(container));
            node.Add("m_Limit", Limit.ExportYAML(container));
            node.Add("m_Length", Length);
            node.Add("m_Type", Type);
            return(node);
        }
예제 #2
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add(PreQName, PreQ.ExportYAML(container));
            node.Add(PostQName, PostQ.ExportYAML(container));
            node.Add(SgnName, Sgn.ExportYAML(container));
            node.Add(LimitName, Limit.ExportYAML(container));
            node.Add(LengthName, Length);
            node.Add(TypeName, Type);
            return(node);
        }