aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.TFS/Email.cs
blob: 8e87a5f02619c30df916c2bb64b3c7e0185c4cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.high
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.TFS
{
    /// <summary>
    /// Represents a simple email.
    /// </summary>
    public class Email
    {
        /// <summary>
        /// Gets or sets the subject.
        /// </summary>
        public String Subject { get; set; }

        /// <summary>
        /// Gets or sets the body.
        /// </summary>
        public String Body { get; set; }

        /// <summary>
        /// Gets or sets the sender member.
        /// </summary>
        public TeamMember From { get; set; }

        /// <summary>
        /// Gets or sets the recipient members.
        /// </summary>
        public List<TeamMember> To { get; set; }

        /// <summary>
        /// Gets or sets the optional attachments.
        /// </summary>
        public List<Attachment> Attachments { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="Email"/> class.
        /// </summary>
        public Email()
        {
            To = new List<TeamMember>();
            Attachments = new List<Attachment>();
        }
    }
}