Skip to content
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

Mark unsupported serialization implementations as obsolete. #4336

Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaLegacyBinaryReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace Csla.Serialization.Mobile
/// This is a legacy version of <see cref="CslaBinaryReader"/>. You should
/// not use this type unless you have issues with the <see cref="CslaBinaryReader"/>.
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaLegacyBinaryReader : ICslaReader
{
private readonly Dictionary<int, string> keywordsDictionary;
Expand Down
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaLegacyBinaryWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace Csla.Serialization.Mobile
/// This is a legacy version of <see cref="CslaBinaryWriter"/>. You should
/// not use this type unless you have issues with the <see cref="CslaBinaryWriter"/>.
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaLegacyBinaryWriter : ICslaWriter
{
private readonly Dictionary<string, int> keywordsDictionary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public static class CslaReaderWriterFactory
/// and setup known types for that class
/// </summary>
/// <returns>instance of <see cref="DataContractSerializer"/></returns>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public static DataContractSerializer GetDataContractSerializer()
{
return new DataContractSerializer(
Expand Down
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaXmlBinaryReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Csla.Serialization.Mobile
/// This class uses <see cref="DataContractSerializer"/> and <see cref="XmlDictionaryReader"/> classes
/// to read the data from a stream
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaXmlBinaryReader : ICslaReader
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaXmlBinaryWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Csla.Serialization.Mobile
/// This class uses <see cref="DataContractSerializer"/> and <see cref="XmlDictionaryWriter"/> classes
/// to write the data to a stream
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaXmlBinaryWriter : ICslaWriter
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaXmlReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Csla.Serialization.Mobile
/// This class uses <see cref="DataContractSerializer"/> and <see cref="XmlReader"/> classes
/// to read the data from a stream
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaXmlReader : ICslaReader
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Source/Csla/Serialization/Mobile/CslaXmlWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Csla.Serialization.Mobile
/// This class uses <see cref="DataContractSerializer"/> and <see cref="XmlWriter"/> classes
/// to write the data to a stream
/// </summary>
[Obsolete("This type of serialization is unsupported. It will be removed with one of the next major versions of CSLA.NET.")]
public class CslaXmlWriter : ICslaWriter
{
/// <summary>
Expand Down
Loading