public static Ws.Services.Xml.WsXmlAttribute[] GetArray() { Ws.Services.Xml.WsXmlAttribute[] attribs = new Ws.Services.Xml.WsXmlAttribute[2]; attribs[0] = GetObject("at1"); attribs[1] = GetObject("at2"); return(attribs); }
private static Ws.Services.Xml.WsXmlAttribute GetObject(string value) { Ws.Services.Xml.WsXmlAttribute attrib = new Ws.Services.Xml.WsXmlAttribute(); attrib.LocalName = "AnyAttribute_" + value; attrib.Value = "Any attibute value = " + value; attrib.NamespaceURI = "http://schemas.example.org/" + value; attrib.Prefix = value; return(attrib); }
public static Ws.Services.Xml.WsXmlAttribute[] GetArray() { Ws.Services.Xml.WsXmlAttribute[] attribs = new Ws.Services.Xml.WsXmlAttribute[2]; attribs[0] = GetObject("at1"); attribs[1] = GetObject("at2"); return attribs; }
private static Ws.Services.Xml.WsXmlAttribute GetObject(string value) { Ws.Services.Xml.WsXmlAttribute attrib = new Ws.Services.Xml.WsXmlAttribute(); attrib.LocalName = "AnyAttribute_" + value; attrib.Value = "Any attibute value = " + value; attrib.NamespaceURI = "http://schemas.example.org/" + value; attrib.Prefix = value; return attrib; }