PageRenderTime 37ms CodeModel.GetById 38ms RepoModel.GetById 0ms app.codeStats 0ms

/DotNet/Source/ProtoBufRemote.Test/SampleServiceParameters.cs

https://code.google.com/p/protobuf-remote/
C# | 70 lines | 55 code | 6 blank | 9 comment | 0 complexity | 62fa326eba9ca57fbf5ac9925b21111d MD5 | raw file
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // Generated from: SampleServiceParameters.proto
  10. namespace ProtoBufRemote.Test
  11. {
  12. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MultiplyInput")]
  13. public partial class MultiplyInput : global::ProtoBuf.IExtensible
  14. {
  15. public MultiplyInput() {}
  16. private string _prefix = "";
  17. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"prefix", DataFormat = global::ProtoBuf.DataFormat.Default)]
  18. [global::System.ComponentModel.DefaultValue("")]
  19. public string Prefix
  20. {
  21. get { return _prefix; }
  22. set { _prefix = value; }
  23. }
  24. private int _firstNumber;
  25. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"first_number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  26. public int FirstNumber
  27. {
  28. get { return _firstNumber; }
  29. set { _firstNumber = value; }
  30. }
  31. private int _secondNumber;
  32. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"second_number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  33. public int SecondNumber
  34. {
  35. get { return _secondNumber; }
  36. set { _secondNumber = value; }
  37. }
  38. private global::ProtoBuf.IExtension extensionObject;
  39. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  40. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  41. }
  42. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MultiplyOutput")]
  43. public partial class MultiplyOutput : global::ProtoBuf.IExtensible
  44. {
  45. public MultiplyOutput() {}
  46. private string _resultString;
  47. [global::ProtoBuf.ProtoMember(10, IsRequired = true, Name=@"result_string", DataFormat = global::ProtoBuf.DataFormat.Default)]
  48. public string ResultString
  49. {
  50. get { return _resultString; }
  51. set { _resultString = value; }
  52. }
  53. private int _resultNumber;
  54. [global::ProtoBuf.ProtoMember(11, IsRequired = true, Name=@"result_number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  55. public int ResultNumber
  56. {
  57. get { return _resultNumber; }
  58. set { _resultNumber = value; }
  59. }
  60. private global::ProtoBuf.IExtension extensionObject;
  61. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  62. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  63. }
  64. }