summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-12-24 16:15:14 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-24 16:15:14 -0800
commitd83dadc28264428390edeed507ae1d8a6157ba0d (patch)
treea293a88f085bf130283e483d226ef1505934f7cb /src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs
parent0bdeb6a990b6751181b28cfbcf44849b11d67f19 (diff)
downloadDotNetOpenAuth-d83dadc28264428390edeed507ae1d8a6157ba0d.zip
DotNetOpenAuth-d83dadc28264428390edeed507ae1d8a6157ba0d.tar.gz
DotNetOpenAuth-d83dadc28264428390edeed507ae1d8a6157ba0d.tar.bz2
Access token responses now encode expires as number.
Fixes #223
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs b/src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs
new file mode 100644
index 0000000..24bf19d
--- /dev/null
+++ b/src/DotNetOpenAuth.Core/Messaging/Reflection/IMessagePartFormattingEncoder.cs
@@ -0,0 +1,19 @@
+namespace DotNetOpenAuth.Messaging.Reflection {
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Text;
+
+ /// <summary>
+ /// An interface describing how various objects can be serialized and deserialized between their object and string forms.
+ /// </summary>
+ /// <remarks>
+ /// Implementations of this interface must include a default constructor and must be thread-safe.
+ /// </remarks>
+ public interface IMessagePartFormattingEncoder : IMessagePartEncoder {
+ /// <summary>
+ /// Gets the type of the encoded values produced by this encoder, as they would appear in their preferred form.
+ /// </summary>
+ Type FormattingType { get; }
+ }
+}