Documentation Coverage Report
Current view: top level - Cqrs/Services - ServiceRequestWithData.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2018-08-07 15:04:50

          Line data    Source code
       1             : #region Copyright
       2             : // -----------------------------------------------------------------------
       3             : // <copyright company="Chinchilla Software Limited">
       4             : //     Copyright Chinchilla Software Limited. All rights reserved.
       5             : // </copyright>
       6             : // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.Runtime.Serialization;
      11             : 
      12             : namespace Cqrs.Services
      13             : {
      14             :         /// <summary>
      15             :         /// A <see cref="IServiceRequest{TAuthenticationToken}">request message envelope</see> that holds authentication, correlation information as well as request data used when making public API requests.
      16             :         /// </summary>
      17             :         /// <typeparam name="TAuthenticationToken">The <see cref="Type">type</see> of authentication token used.</typeparam>
      18             :         /// <typeparam name="TData">The <see cref="Type">type</see> of data sent along with the request to act upon/with.</typeparam>
      19             :         [Serializable]
      20             :         [DataContract]
      21             :         public class ServiceRequestWithData<TAuthenticationToken, TData> : ServiceRequest<TAuthenticationToken>, IServiceRequestWithData<TAuthenticationToken, TData>
      22           1 :         {
      23             :                 /// <summary>
      24             :                 /// The data sent along with the request to act upon/with.
      25             :                 /// </summary>
      26             :                 [DataMember]
      27             :                 public TData Data { get; set; }
      28             :         }
      29             : }

Generated by: LCOV version 1.12