Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
recommend users to cache serializers created from FromTypes and FormM…
…appings
  • Loading branch information
jiayi11 committed Feb 26, 2019
commit b4714003fbd4f5d33ac2093fa62e55fb8485b287
4 changes: 2 additions & 2 deletions xml/System.Xml.Serialization/XmlSerializer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ xmlSerializer mySerializer=new XmlSerializer(typeof(LargeNumbers));
<param name="mappings">An array of <see cref="T:System.Xml.Serialization.XmlTypeMapping" /> that maps one type to another.</param>
<summary>Returns an array of <see cref="T:System.Xml.Serialization.XmlSerializer" /> objects created from an array of <see cref="T:System.Xml.Serialization.XmlTypeMapping" /> objects.</summary>
<returns>An array of <see cref="T:System.Xml.Serialization.XmlSerializer" /> objects.</returns>
<remarks>To be added.</remarks>
<remarks>It is recommended for callers to cache the returned serializer when there are repeated calls to this method.</remarks>
</Docs>
</Member>
<Member MemberName="FromMappings">
Expand Down Expand Up @@ -1596,7 +1596,7 @@ xmlSerializer mySerializer=new XmlSerializer(typeof(LargeNumbers));
<format type="text/markdown"><![CDATA[

## Remarks
The <xref:System.Xml.Serialization.XmlSerializer.FromTypes%2A> method allows you to efficiently create an array of <xref:System.Xml.Serialization.XmlSerializer> objects for processing an array of <xref:System.Type> objects.
The <xref:System.Xml.Serialization.XmlSerializer.FromTypes%2A> method allows you to efficiently create an array of <xref:System.Xml.Serialization.XmlSerializer> objects for processing an array of <xref:System.Type> objects. However, it is recommended for callers to cache the returned serializers when there are repeated calls to this method.



Expand Down