-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update documentation for SerializationSurrogateProvider property #3748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xml/System.ServiceModel.Description/DataContractSerializerOperationBehavior.xml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny suggestion to address.
…ationBehavior.xml Co-Authored-By: Carlos Sanchez Lopez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a minor comment for you to consider.
<summary>To be added.</summary> | ||
<value>To be added.</value> | ||
<summary>Gets or sets a surrogate provider to be used during the serialization and deserialization processes.</summary> | ||
<value>An <see cref="T:System.Runtime.Serialization.ISerializationSurrogateProvider" /> that is used to provide a serialization surrogate used during serialization and deserialization.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the type is automatically shown (https://review.docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Description.DataContractSerializerOperationBehavior.SerializationSurrogateProvider?branch=pr-en-us-3748&view=dotnet-plat-ext-3.1#property-value), I think you can have the plain text here too
<value>An <see cref="T:System.Runtime.Serialization.ISerializationSurrogateProvider" /> that is used to provide a serialization surrogate used during serialization and deserialization.</value> | |
<value>A surrogate provider that is used to provide a serialization surrogate to be used during serialization and deserialization.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only Maira's suggestion left to address. I suggest it gets applied. But aside from that, it looks good, and no build warnings/errors.
I've applied the suggestion so we can merge this PR. |
Summary
Added documentation for DataContractSerializerOperationBehavior.SerializationSurrogateProvider