summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartNullEncoder.cs
blob: 50261f4ff1933020daef34cb615ae6625cc394a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//-----------------------------------------------------------------------
// <copyright file="IMessagePartNullEncoder.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Messaging.Reflection {
	/// <summary>
	/// A message part encoder that has a special encoding for a null value.
	/// </summary>
	public interface IMessagePartNullEncoder : IMessagePartEncoder {
		/// <summary>
		/// Gets the string representation to include in a serialized message 
		/// when the message part has a <c>null</c> value.
		/// </summary>
		string EncodedNullValue { get; }
	}
}