PageRenderTime 52ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/WCFWebApi/src/Microsoft.Net.Http.Formatting.OData/SR.Designer.cs

#
C# | 115 lines | 61 code | 20 blank | 34 comment | 1 complexity | 4898c3ff5625dcb42814819aaca9413a MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.239
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace System.Net.Http.Formatting.OData {
  11. internal partial class SR {
  12. static System.Resources.ResourceManager resourceManager;
  13. static System.Globalization.CultureInfo resourceCulture;
  14. private SR() {
  15. }
  16. internal static System.Resources.ResourceManager ResourceManager {
  17. get {
  18. if (object.ReferenceEquals(resourceManager, null)) {
  19. System.Resources.ResourceManager temp = new System.Resources.ResourceManager("System.Net.Http.Formatting.OData.SR", typeof(SR).Assembly);
  20. resourceManager = temp;
  21. }
  22. return resourceManager;
  23. }
  24. }
  25. [System.CodeDom.Compiler.GeneratedCodeAttribute("StrictResXFileCodeGenerator", "4.0.0.0")]
  26. internal static System.Globalization.CultureInfo Culture {
  27. get {
  28. return resourceCulture;
  29. }
  30. set {
  31. resourceCulture = value;
  32. }
  33. }
  34. /// <summary>Gets localized string like: MaxReferenceDepth value must be greater than 0.</summary>
  35. internal static string MaxReferenceDepthLessThanZero {
  36. get {
  37. return ResourceManager.GetString("MaxReferenceDepthLessThanZero", Culture);
  38. }
  39. }
  40. /// <summary>Gets localized string like: The argument '{0}' is null or empty.</summary>
  41. /// <param name="param0">Parameter 0 for string: The argument '{0}' is null or empty.</param>
  42. internal static string ArgumentNullOrEmpty(object param0) {
  43. return string.Format(Culture, ResourceManager.GetString("ArgumentNullOrEmpty", Culture), param0);
  44. }
  45. /// <summary>Gets localized string like: The {0} does not support deserialization.</summary>
  46. /// <param name="param0">Parameter 0 for string: The {0} does not support deserialization.</param>
  47. internal static string CanNotDeserialize(object param0) {
  48. return string.Format(Culture, ResourceManager.GetString("CanNotDeserialize", Culture), param0);
  49. }
  50. /// <summary>Gets localized string like: The value of member '{0}' in type '{1}' is null. The value of a key property cannot be null.</summary>
  51. /// <param name="param0">Parameter 0 for string: The value of member '{0}' in type '{1}' is null. The value of a key property cannot be null.</param>
  52. /// <param name="param1">Parameter 1 for string: The value of member '{0}' in type '{1}' is null. The value of a key property cannot be null.</param>
  53. internal static string CannotSerializerKeyValueNull(object param0, object param1) {
  54. return string.Format(Culture, ResourceManager.GetString("CannotSerializerKeyValueNull", Culture), param0, param1);
  55. }
  56. /// <summary>Gets localized string like: Cannot serialize a null '{0}'.</summary>
  57. /// <param name="param0">Parameter 0 for string: Cannot serialize a null '{0}'.</param>
  58. internal static string CannotSerializerNull(object param0) {
  59. return string.Format(Culture, ResourceManager.GetString("CannotSerializerNull", Culture), param0);
  60. }
  61. /// <summary>Gets localized string like: The member '{0}' in type '{1}' can not be declared as a key. Only members that are DataContract primitive types can be declared as a key member.</summary>
  62. /// <param name="param0">Parameter 0 for string: The member '{0}' in type '{1}' can not be declared as a key. Only members that are DataContract primitive types can be declared as a key member.</param>
  63. /// <param name="param1">Parameter 1 for string: The member '{0}' in type '{1}' can not be declared as a key. Only members that are DataContract primitive types can be declared as a key member.</param>
  64. internal static string MemberCannotBeKey(object param0, object param1) {
  65. return string.Format(Culture, ResourceManager.GetString("MemberCannotBeKey", Culture), param0, param1);
  66. }
  67. /// <summary>Gets localized string like: The '{0}' serializer cannot serialize the type '{1}'.</summary>
  68. /// <param name="param0">Parameter 0 for string: The '{0}' serializer cannot serialize the type '{1}'.</param>
  69. /// <param name="param1">Parameter 1 for string: The '{0}' serializer cannot serialize the type '{1}'.</param>
  70. internal static string SerializerCannotSerializeType(object param0, object param1) {
  71. return string.Format(Culture, ResourceManager.GetString("SerializerCannotSerializeType", Culture), param0, param1);
  72. }
  73. /// <summary>Gets localized string like: '{0}' cannot be serialized using the DataContractODataSerializer.</summary>
  74. /// <param name="param0">Parameter 0 for string: '{0}' cannot be serialized using the DataContractODataSerializer.</param>
  75. internal static string TypeCannotBeSerialized(object param0) {
  76. return string.Format(Culture, ResourceManager.GetString("TypeCannotBeSerialized", Culture), param0);
  77. }
  78. /// <summary>Gets localized string like: The type '{0}' can not have key members because it is either a primitive data type, enum data type or a collection type.</summary>
  79. /// <param name="param0">Parameter 0 for string: The type '{0}' can not have key members because it is either a primitive data type, enum data type or a collection type.</param>
  80. internal static string TypeCannotHaveKeyMembers(object param0) {
  81. return string.Format(Culture, ResourceManager.GetString("TypeCannotHaveKeyMembers", Culture), param0);
  82. }
  83. /// <summary>Gets localized string like: The type '{0}' does not have a member '{1}' to be used as a key member.</summary>
  84. /// <param name="param0">Parameter 0 for string: The type '{0}' does not have a member '{1}' to be used as a key member.</param>
  85. /// <param name="param1">Parameter 1 for string: The type '{0}' does not have a member '{1}' to be used as a key member.</param>
  86. internal static string TypeDoesNotHaveMember(object param0, object param1) {
  87. return string.Format(Culture, ResourceManager.GetString("TypeDoesNotHaveMember", Culture), param0, param1);
  88. }
  89. /// <summary>Gets localized string like: This method cannot be called for '{0}'. WriteObjectInline method can only be called for ODataEntityTypeSerializer and ODataFeedSerializer.</summary>
  90. /// <param name="param0">Parameter 0 for string: This method cannot be called for '{0}'. WriteObjectInline method can only be called for ODataEntityTypeSerializer and ODataFeedSerializer.</param>
  91. internal static string WriteObjectInlineNotSupported(object param0) {
  92. return string.Format(Culture, ResourceManager.GetString("WriteObjectInlineNotSupported", Culture), param0);
  93. }
  94. }
  95. }