// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Mvc.Formatters.Xml
{
///
/// Defines an interface for objects to be un-wrappable after deserialization.
///
public interface IUnwrappable
{
///
/// Unwraps an object.
///
/// The type to which the object should be un-wrapped to.
/// The un-wrapped object.
object Unwrap(Type declaredType);
}
}