2 // ServiceSettingsResponseInfo.cs
5 // Marcos Cobena (marcoscobena@gmail.com)
7 // Copyright 2007 Marcos Cobena (http://www.youcannoteatbits.org/)
10 using System
.Runtime
.Serialization
;
12 namespace System
.ServiceModel
.PeerResolvers
14 [MessageContract (IsWrapped
= false)]
15 public class ServiceSettingsResponseInfo
17 [MessageBodyMember (Name
= "ServiceSettings", Namespace
= "http://schemas.microsoft.com/net/2006/05/peer")]
18 ServiceSettingsResponseInfoDC Body
{
21 body
= new ServiceSettingsResponseInfoDC ();
25 ServiceSettingsResponseInfoDC body
;
27 public ServiceSettingsResponseInfo ()
31 public ServiceSettingsResponseInfo (bool control
)
33 Body
.ControlMeshShape
= control
;
36 public bool ControlMeshShape
{
37 get { return Body.ControlMeshShape; }
38 set { Body.ControlMeshShape = value; }
41 public bool HasBody ()
43 return true; // FIXME: I have no idea when it returns false
47 [DataContract (Name
= "ServiceSettings", Namespace
= "http://schemas.microsoft.com/net/2006/05/peer")]
48 internal class ServiceSettingsResponseInfoDC
50 bool control_mesh_shape
;
52 public ServiceSettingsResponseInfoDC ()
57 public bool ControlMeshShape
{
58 get { return control_mesh_shape; }
59 set { control_mesh_shape = value; }