Advertisement
mr_robd_lon_1

SO_PreserveReferencesHandling_C

Sep 18th, 2014
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.52 KB | None | 0 0
  1. using Contracts.Enumerations;
  2. using Contracts.Interfaces;
  3. using Contracts.Interfaces.Templating;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7.  
  8. namespace Contracts.Models
  9. {
  10.     public class Message
  11.     {
  12.        
  13.         /// <summary>
  14.         /// SenderAssignedId.
  15.         /// This Id is assigned by the sender of the message at the time that the message is first instantiated
  16.         /// This can be used by the sender to retrieve information about the message
  17.         /// </summary>
  18.         public string SenderAssignedId { get; set; }
  19.  
  20.         /// <summary>
  21.         /// Gets or sets the  message subject.
  22.         /// </summary>
  23.         public string Subject { get; set; }
  24.  
  25.         /// <summary>
  26.         /// Gets or sets the message Id.
  27.         /// This is the database object Id used to retrieve the message from the persistence store
  28.         /// </summary>
  29.         public string Id { get; set; }
  30.  
  31.         /// <summary>
  32.         /// Indicates whether or not the message body should be generated from a template
  33.         /// </summary>
  34.         public bool UseTemplate { get; set; }
  35.  
  36.         /// <summary>
  37.         /// The identifier used to retrieve the template from the template store
  38.         /// </summary>
  39.         public string TemplateName { get; set; }
  40.  
  41.         /// <summary>
  42.         /// Contains meta data that describes how to retrieve the data that is needed to populate the template
  43.         /// </summary>
  44.         public ITemplateDataQuery TemplateDataDefinition { get; set; }
  45.     }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement