Exemplo n.º 1
0
            private static TableFunctionReturn ReadTableFunctionReturn(XmlTextReader reader)
            {
                ValidateAttributes(reader, _validTableFunctionReturnAttributes);
                var    r         = new TableFunctionReturn();
                string attribute = reader.GetAttribute("Member");

                if (attribute == null)
                {
                    throw Error.RequiredAttributeMissingViolation("Member", reader.LineNumber);
                }

                r.Member = attribute;
                AssertEmptyElement(reader);
                return(r);
            }
Exemplo n.º 2
0
            public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
            {
                if (r == null)
                {
                    return(null);
                }

                writer.WriteStartElement("Return");
                if (r.Member != null)
                {
                    writer.WriteAttributeString("Member", r.Member);
                }

                writer.WriteEndElement();
                return(r);
            }
Exemplo n.º 3
0
            public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
            {
                if (r == null)
                    return null;

                writer.WriteStartElement("Return");
                if (r.Member != null)
                    writer.WriteAttributeString("Member", r.Member);

                writer.WriteEndElement();
                return r;
            }
Exemplo n.º 4
0
 public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
 {
     return r;
 }
Exemplo n.º 5
0
 public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
 {
     return(r);
 }
Exemplo n.º 6
0
 public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
 {
     return r == null ? null : new TableFunctionReturn {Member = r.Member};
 }
Exemplo n.º 7
0
 public override TableFunctionReturn VisitTableFunctionReturn(TableFunctionReturn r)
 {
     return(r == null ? null : new TableFunctionReturn {
         Member = r.Member
     });
 }
Exemplo n.º 8
0
            private static TableFunctionReturn ReadTableFunctionReturn(XmlTextReader reader)
            {
                ValidateAttributes(reader, new[] {"Member"});
                var r = new TableFunctionReturn();
                string attribute = reader.GetAttribute("Member");
                if (attribute == null)
                    throw Error.RequiredAttributeMissingViolation("Member", reader.LineNumber);

                r.Member = attribute;
                AssertEmptyElement(reader);
                return r;
            }