Пример #1
0
 /// <include file='doc\XmlSerializerNamespaces.uex' path='docs/doc[@for="XmlSerializerNamespaces.ToArray"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public XmlQualifiedName[] ToArray()
 {
     if (NamespaceList == null)
     {
         return(new XmlQualifiedName[0]);
     }
     return((XmlQualifiedName[])NamespaceList.ToArray(typeof(XmlQualifiedName)));
 }
 /// <include file='doc\XmlSerializerNamespaces.uex' path='docs/doc[@for="XmlSerializerNamespaces.ToArray"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public XmlQualifiedName[] ToArray()
 {
     if (NamespaceList == null)
     {
         return(Array.Empty <XmlQualifiedName>());
     }
     return(NamespaceList.ToArray());
 }
Пример #3
0
 /// <include file='doc\XmlSerializerNamespaces.uex' path='docs/doc[@for="XmlSerializerNamespaces.ToArray"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public XmlQualifiedName[] ToArray()
 {
     return((XmlQualifiedName[])NamespaceList.ToArray(typeof(XmlQualifiedName)));
 }