Skip to content

Commit

Permalink
Marked now obsolete serialization classes with [Obsolete]
Browse files Browse the repository at this point in the history
  • Loading branch information
X39 committed Apr 19, 2021
1 parent 2036c5c commit a3bfc89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/************************************************************************
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
Expand All @@ -7,6 +7,7 @@ This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
************************************************************************/

using System;
using System.ComponentModel;

namespace AvalonDock.Layout.Serialization
Expand All @@ -21,6 +22,7 @@ namespace AvalonDock.Layout.Serialization
///
/// Use the Cancel property to indicate the case in which an item should not be deserialized.
/// </summary>
[Obsolete("The class utilizing this event got replaced.")]
public class LayoutSerializationCallbackEventArgs : CancelEventArgs
{
#region constructors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/************************************************************************
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
Expand All @@ -13,6 +13,7 @@ This program is provided to you under the terms of the Microsoft Public
namespace AvalonDock.Layout.Serialization
{
/// <summary>Implements a base class for the layout serialization/deserialization of the docking framework.</summary>
[Obsolete("This class was replaced with " + nameof(LayoutSerializerBase))]
public abstract class LayoutSerializer
{
#region fields
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/************************************************************************
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
Expand All @@ -7,13 +7,15 @@ This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
************************************************************************/

using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;

namespace AvalonDock.Layout.Serialization
{
/// <summary>Implements a layout serialization/deserialization method of the docking framework.</summary>
[Obsolete("This class was replaced with " + nameof(AsyncXmlLayoutSerializer))]
public class XmlLayoutSerializer : LayoutSerializer
{
#region Constructors
Expand Down

0 comments on commit a3bfc89

Please sign in to comment.