//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Messaging.Reflection {
///
/// An interface describing how various objects can be serialized and deserialized between their object and string forms.
///
///
/// Implementations of this interface must include a default constructor and must be thread-safe.
///
public interface IMessagePartOriginalEncoder : IMessagePartEncoder {
///
/// Encodes the specified value as the original value that was formerly decoded.
///
/// The value. Guaranteed to never be null.
/// The in string form, ready for message transport.
string EncodeAsOriginalString(object value);
}
}