// ----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------- namespace Microsoft.Samples.Kinect.Webserver.Sensor.Serialization { using System.Diagnostics.CodeAnalysis; /// /// Serializable representation of a function call response. /// /// /// Type of function call result. /// [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Lower case names allowed for JSON serialization.")] internal class FunctionCallResponse { /// /// Sequence Id used to match function call request with its response. /// public int id { get; set; } /// /// Result of remote function call. /// public T result { get; set; } } }