PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/V4/Quickstarts/View-Switching Navigation/Silverlight/View-Switching Navigation/ViewSwitchingNavigation.Email/Model/EmailDocument.cs

#
C# | 43 lines | 20 code | 7 blank | 16 comment | 0 complexity | 3948581763f9de5c194c3f381c442cdd MD5 | raw file
 1//===================================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight
 4//===================================================================================
 5// Copyright (c) Microsoft Corporation.  All rights reserved.
 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
 7// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
 8// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 9// FITNESS FOR A PARTICULAR PURPOSE.
10//===================================================================================
11// The example companies, organizations, products, domain names,
12// e-mail addresses, logos, people, places, and events depicted
13// herein are fictitious.  No association with any real company,
14// organization, product, domain name, email address, logo, person,
15// places, or events is intended or should be inferred.
16//===================================================================================
17using System;
18
19namespace ViewSwitchingNavigation.Email.Model
20{
21    public class EmailDocument
22    {
23        public EmailDocument()
24            : this(Guid.NewGuid())
25        {
26        }
27
28        public EmailDocument(Guid id)
29        {
30            this.Id = id;
31        }
32
33        public string From { get; set;}
34
35        public string To { get; set;}
36
37        public string Subject { get; set;}
38
39        public string Text { get; set;}
40
41        public Guid Id { get; private set;}
42    }
43}