source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Microsoft.Samples.Kinect.Webserver/Sensor/Serialization/FunctionCallResponse.cs@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 1.1 KB
Line 
1// -----------------------------------------------------------------------
2// <copyright file="FunctionCallResponse.cs" company="Microsoft">
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// </copyright>
5// -----------------------------------------------------------------------
6
7namespace Microsoft.Samples.Kinect.Webserver.Sensor.Serialization
8{
9 using System.Diagnostics.CodeAnalysis;
10
11 /// <summary>
12 /// Serializable representation of a function call response.
13 /// </summary>
14 /// <typeparam name="T">
15 /// Type of function call result.
16 /// </typeparam>
17 [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Lower case names allowed for JSON serialization.")]
18 internal class FunctionCallResponse<T>
19 {
20 /// <summary>
21 /// Sequence Id used to match function call request with its response.
22 /// </summary>
23 public int id { get; set; }
24
25 /// <summary>
26 /// Result of remote function call.
27 /// </summary>
28 public T result { get; set; }
29 }
30}
Note: See TracBrowser for help on using the repository browser.