Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

382 lines
20 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="SyndicationElementExtension" FullName="System.ServiceModel.Syndication.SyndicationElementExtension">
<TypeSignature Language="C#" Value="public class SyndicationElementExtension" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SyndicationElementExtension extends System.Object" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Both RSS and Atom support protocol extensibility with additional namespace-qualified elements. An XML element not specifically defined in the RSS or Atom specifications can be present at the feed or item level as long as the namespace of that element does not match the root namespace of the enclosing feed. Element extensions can be added to various classes including: </para>
<list type="bullet">
<item>
<para>
<see cref="T:System.ServiceModel.Syndication.SyndicationFeed" />
</para>
</item>
<item>
<para>
<see cref="T:System.ServiceModel.Syndication.SyndicationItem" />
</para>
</item>
<item>
<para>
<see cref="T:System.ServiceModel.Syndication.SyndicationCategory" />
</para>
</item>
<item>
<para>
<see cref="T:System.ServiceModel.Syndication.SyndicationPerson" />
</para>
</item>
<item>
<para>
<see cref="T:System.ServiceModel.Syndication.SyndicationLink" />
</para>
</item>
</list>
<para>The syndication object model makes this extensibility easier using <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" />, which can be placed in a <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtensionCollection" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A class that represents a syndication element extension.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (object dataContractExtension);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object dataContractExtension) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="dataContractExtension" Type="System.Object" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class with the specified object.</para>
</summary>
<param name="dataContractExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The data contract object used to initialize the extension. </param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (System.Xml.XmlReader xmlReader);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Xml.XmlReader xmlReader) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="xmlReader" Type="System.Xml.XmlReader" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class. </para>
</summary>
<param name="xmlReader">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlReader" /> that contains the content of the new <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" />.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object dataContractExtension, class System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="dataContractExtension" Type="System.Object" />
<Parameter Name="dataContractSerializer" Type="System.Runtime.Serialization.XmlObjectSerializer" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class with the specified object and data contract serializer.</para>
</summary>
<param name="dataContractExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The data contract object used to initialize the extension.</param>
<param name="dataContractSerializer">
<attribution license="cc4" from="Microsoft" modified="false" />The data contract serializer to use.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (object xmlSerializerExtension, System.Xml.Serialization.XmlSerializer serializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object xmlSerializerExtension, class System.Xml.Serialization.XmlSerializer serializer) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="xmlSerializerExtension" Type="System.Object" />
<Parameter Name="serializer" Type="System.Xml.Serialization.XmlSerializer" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class with the specified object and XML serializer.</para>
</summary>
<param name="xmlSerializerExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The object used to initialize the extension.</param>
<param name="serializer">
<attribution license="cc4" from="Microsoft" modified="false" />The XML serializer to use.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (string outerName, string outerNamespace, object dataContractExtension);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string outerName, string outerNamespace, object dataContractExtension) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="outerName" Type="System.String" />
<Parameter Name="outerNamespace" Type="System.String" />
<Parameter Name="dataContractExtension" Type="System.Object" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class with the specified outer name, outer namespace, and object.</para>
</summary>
<param name="outerName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the enclosing XML element.</param>
<param name="outerNamespace">
<attribution license="cc4" from="Microsoft" modified="false" />The namespace of the enclosing XML element.</param>
<param name="dataContractExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The object used to initialize the extension.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SyndicationElementExtension (string outerName, string outerNamespace, object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string outerName, string outerNamespace, object dataContractExtension, class System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="outerName" Type="System.String" />
<Parameter Name="outerNamespace" Type="System.String" />
<Parameter Name="dataContractExtension" Type="System.Object" />
<Parameter Name="dataContractSerializer" Type="System.Runtime.Serialization.XmlObjectSerializer" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" /> class with the specified outer name, outer namespace, object, and data contract serializer.</para>
</summary>
<param name="outerName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the enclosing XML element.</param>
<param name="outerNamespace">
<attribution license="cc4" from="Microsoft" modified="false" />The namespace of the enclosing XML element.</param>
<param name="dataContractExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The object used to initialize the extension.</param>
<param name="dataContractSerializer">
<attribution license="cc4" from="Microsoft" modified="false" />The data contract serializer to use.</param>
</Docs>
</Member>
<Member MemberName="GetObject&lt;TExtension&gt;">
<MemberSignature Language="C#" Value="public TExtension GetObject&lt;TExtension&gt; ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!TExtension GetObject&lt;TExtension&gt;() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TExtension</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TExtension" />
</TypeParameters>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the object that represents the element extension.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of the specified type that contains the element extension.</para>
</returns>
<typeparam name="TExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The type of the extension to retrieve.</typeparam>
</Docs>
</Member>
<Member MemberName="GetObject&lt;TExtension&gt;">
<MemberSignature Language="C#" Value="public TExtension GetObject&lt;TExtension&gt; (System.Runtime.Serialization.XmlObjectSerializer serializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!TExtension GetObject&lt;TExtension&gt;(class System.Runtime.Serialization.XmlObjectSerializer serializer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TExtension</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TExtension" />
</TypeParameters>
<Parameters>
<Parameter Name="serializer" Type="System.Runtime.Serialization.XmlObjectSerializer" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the object that represents the element extension.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of the specified type that contains the element extension.</para>
</returns>
<param name="serializer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.XmlObjectSerializer" /> to use.</param>
<typeparam name="TExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The type of the extension to retrieve.</typeparam>
</Docs>
</Member>
<Member MemberName="GetObject&lt;TExtension&gt;">
<MemberSignature Language="C#" Value="public TExtension GetObject&lt;TExtension&gt; (System.Xml.Serialization.XmlSerializer serializer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!TExtension GetObject&lt;TExtension&gt;(class System.Xml.Serialization.XmlSerializer serializer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TExtension</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TExtension" />
</TypeParameters>
<Parameters>
<Parameter Name="serializer" Type="System.Xml.Serialization.XmlSerializer" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the object that represents the element extension.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of the specified type that contains the element extension.</para>
</returns>
<param name="serializer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlSerializer" /> to use.</param>
<typeparam name="TExtension">
<attribution license="cc4" from="Microsoft" modified="false" />The type of the extension to retrieve.</typeparam>
</Docs>
</Member>
<Member MemberName="GetReader">
<MemberSignature Language="C#" Value="public System.Xml.XmlReader GetReader ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.XmlReader GetReader() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Xml.XmlReader</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Xml.XmlReader" /> associated with the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Xml.XmlReader" /> associated with the <see cref="T:System.ServiceModel.Syndication.SyndicationElementExtension" />.</para>
</returns>
</Docs>
</Member>
<Member MemberName="OuterName">
<MemberSignature Language="C#" Value="public string OuterName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string OuterName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The outer name of the following element extension is custom.</para>
<code>&lt;feed xmlns:mg="http://contoso.com"&gt;
....&lt;mg:custom&gt; some text &lt;/mg:custom&gt;
&lt;/feed&gt;</code>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the outer name of the element extension.</para>
</summary>
</Docs>
</Member>
<Member MemberName="OuterNamespace">
<MemberSignature Language="C#" Value="public string OuterNamespace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string OuterNamespace" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The outer namespace of the following custom element is mg.</para>
<code>&lt;feed xmlns:mg="http://contoso.com"&gt;
&lt;mg:custom&gt; some text &lt;/mg:custom&gt;
&lt;/feed&gt;</code>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the outer namespace of the element extension.</para>
</summary>
</Docs>
</Member>
<Member MemberName="WriteTo">
<MemberSignature Language="C#" Value="public void WriteTo (System.Xml.XmlWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteTo(class System.Xml.XmlWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Writes the current extension to the specified <see cref="T:System.Xml.XmlWriter" />.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlWriter" /> to write to.</param>
</Docs>
</Member>
</Members>
</Type>