From 27027b917ce718950bc7c35c553206ca84ef73a0 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 19 Feb 2014 16:27:47 -0800 Subject: [PATCH] Split IdentityMessage into its own file --- .../IIdentityMessageService.cs | 21 ---------------- .../IdentityMessage.cs | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 src/Microsoft.AspNet.Identity/IdentityMessage.cs diff --git a/src/Microsoft.AspNet.Identity/IIdentityMessageService.cs b/src/Microsoft.AspNet.Identity/IIdentityMessageService.cs index 5861580a68..43c89d2ec5 100644 --- a/src/Microsoft.AspNet.Identity/IIdentityMessageService.cs +++ b/src/Microsoft.AspNet.Identity/IIdentityMessageService.cs @@ -14,25 +14,4 @@ namespace Microsoft.AspNet.Identity /// Task Send(IdentityMessage message); } - - /// - /// Represents a message - /// - public class IdentityMessage - { - /// - /// Destination, i.e. To email, or SMS phone number - /// - public virtual string Destination { get; set; } - - /// - /// Subject - /// - public virtual string Subject { get; set; } - - /// - /// Message contents - /// - public virtual string Body { get; set; } - } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Identity/IdentityMessage.cs b/src/Microsoft.AspNet.Identity/IdentityMessage.cs new file mode 100644 index 0000000000..0382172847 --- /dev/null +++ b/src/Microsoft.AspNet.Identity/IdentityMessage.cs @@ -0,0 +1,25 @@ +using System.Threading.Tasks; + +namespace Microsoft.AspNet.Identity +{ + /// + /// Represents a message + /// + public class IdentityMessage + { + /// + /// Destination, i.e. To email, or SMS phone number + /// + public virtual string Destination { get; set; } + + /// + /// Subject + /// + public virtual string Subject { get; set; } + + /// + /// Message contents + /// + public virtual string Body { get; set; } + } +} \ No newline at end of file