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.4 KB
|
Rev | Line | |
---|
[28897] | 1 | //------------------------------------------------------------------------------
|
---|
| 2 | // <copyright file="EventMessage.cs" company="Microsoft">
|
---|
| 3 | // Copyright (c) Microsoft Corporation. All rights reserved.
|
---|
| 4 | // </copyright>
|
---|
| 5 | //------------------------------------------------------------------------------
|
---|
| 6 |
|
---|
| 7 | namespace Microsoft.Samples.Kinect.Webserver.Sensor.Serialization
|
---|
| 8 | {
|
---|
| 9 | using System.Diagnostics.CodeAnalysis;
|
---|
| 10 |
|
---|
| 11 | /// <summary>
|
---|
| 12 | /// Base class for web socket messages sent over "stream" endpoint.
|
---|
| 13 | /// </summary>
|
---|
| 14 | [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Lower case names allowed for JSON serialization.")]
|
---|
| 15 | public class EventMessage
|
---|
| 16 | {
|
---|
| 17 | /// <summary>
|
---|
| 18 | /// Category to which this event pertains.
|
---|
| 19 | /// </summary>
|
---|
| 20 | [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "category", Justification = "Lower case names allowed for JSON serialization.")]
|
---|
| 21 | public string category { get; set; }
|
---|
| 22 |
|
---|
| 23 | /// <summary>
|
---|
| 24 | /// Type of event being sent.
|
---|
| 25 | /// </summary>
|
---|
| 26 | [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "event", Justification = "Lower case names allowed for JSON serialization.")]
|
---|
| 27 | public string eventType { get; set; }
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.