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

Replaced LayoutSerializer with Async variant #265

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Marked now obsolete serialization classes with [Obsolete]
  • Loading branch information
X39 committed Apr 19, 2021
commit a3bfc89b75cd1f259054b7805bef934bd29fe7bd
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