PageRenderTime 17ms CodeModel.GetById 3ms app.highlight 9ms RepoModel.GetById 1ms 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
  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
 11namespace System.Net.Http.Formatting.OData {
 12    
 13    
 14    internal partial class SR {
 15        
 16        static System.Resources.ResourceManager resourceManager;
 17        
 18        static System.Globalization.CultureInfo resourceCulture;
 19        
 20        private SR() {
 21        }
 22        
 23        internal static System.Resources.ResourceManager ResourceManager {
 24            get {
 25                if (object.ReferenceEquals(resourceManager, null)) {
 26                    System.Resources.ResourceManager temp = new System.Resources.ResourceManager("System.Net.Http.Formatting.OData.SR", typeof(SR).Assembly);
 27                    resourceManager = temp;
 28                }
 29                return resourceManager;
 30            }
 31        }
 32        
 33        [System.CodeDom.Compiler.GeneratedCodeAttribute("StrictResXFileCodeGenerator", "4.0.0.0")]
 34        internal static System.Globalization.CultureInfo Culture {
 35            get {
 36                return resourceCulture;
 37            }
 38            set {
 39                resourceCulture = value;
 40            }
 41        }
 42        
 43        /// <summary>Gets localized string like: MaxReferenceDepth value must be greater than 0.</summary>
 44        internal static string MaxReferenceDepthLessThanZero {
 45            get {
 46                return ResourceManager.GetString("MaxReferenceDepthLessThanZero", Culture);
 47            }
 48        }
 49        
 50        /// <summary>Gets localized string like: The argument '{0}' is null or empty.</summary>
 51        /// <param name="param0">Parameter 0 for string: The argument '{0}' is null or empty.</param>
 52        internal static string ArgumentNullOrEmpty(object param0) {
 53            return string.Format(Culture, ResourceManager.GetString("ArgumentNullOrEmpty", Culture), param0);
 54        }
 55        
 56        /// <summary>Gets localized string like: The {0} does not support deserialization.</summary>
 57        /// <param name="param0">Parameter 0 for string: The {0} does not support deserialization.</param>
 58        internal static string CanNotDeserialize(object param0) {
 59            return string.Format(Culture, ResourceManager.GetString("CanNotDeserialize", Culture), param0);
 60        }
 61        
 62        /// <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>
 63        /// <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>
 64        /// <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>
 65        internal static string CannotSerializerKeyValueNull(object param0, object param1) {
 66            return string.Format(Culture, ResourceManager.GetString("CannotSerializerKeyValueNull", Culture), param0, param1);
 67        }
 68        
 69        /// <summary>Gets localized string like: Cannot serialize a null '{0}'.</summary>
 70        /// <param name="param0">Parameter 0 for string: Cannot serialize a null '{0}'.</param>
 71        internal static string CannotSerializerNull(object param0) {
 72            return string.Format(Culture, ResourceManager.GetString("CannotSerializerNull", Culture), param0);
 73        }
 74        
 75        /// <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>
 76        /// <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>
 77        /// <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>
 78        internal static string MemberCannotBeKey(object param0, object param1) {
 79            return string.Format(Culture, ResourceManager.GetString("MemberCannotBeKey", Culture), param0, param1);
 80        }
 81        
 82        /// <summary>Gets localized string like: The '{0}' serializer cannot serialize the type '{1}'.</summary>
 83        /// <param name="param0">Parameter 0 for string: The '{0}' serializer cannot serialize the type '{1}'.</param>
 84        /// <param name="param1">Parameter 1 for string: The '{0}' serializer cannot serialize the type '{1}'.</param>
 85        internal static string SerializerCannotSerializeType(object param0, object param1) {
 86            return string.Format(Culture, ResourceManager.GetString("SerializerCannotSerializeType", Culture), param0, param1);
 87        }
 88        
 89        /// <summary>Gets localized string like: '{0}' cannot be serialized using the DataContractODataSerializer.</summary>
 90        /// <param name="param0">Parameter 0 for string: '{0}' cannot be serialized using the DataContractODataSerializer.</param>
 91        internal static string TypeCannotBeSerialized(object param0) {
 92            return string.Format(Culture, ResourceManager.GetString("TypeCannotBeSerialized", Culture), param0);
 93        }
 94        
 95        /// <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>
 96        /// <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>
 97        internal static string TypeCannotHaveKeyMembers(object param0) {
 98            return string.Format(Culture, ResourceManager.GetString("TypeCannotHaveKeyMembers", Culture), param0);
 99        }
100        
101        /// <summary>Gets localized string like: The type '{0}' does not have a member '{1}' to be used as a key member.</summary>
102        /// <param name="param0">Parameter 0 for string: The type '{0}' does not have a member '{1}' to be used as a key member.</param>
103        /// <param name="param1">Parameter 1 for string: The type '{0}' does not have a member '{1}' to be used as a key member.</param>
104        internal static string TypeDoesNotHaveMember(object param0, object param1) {
105            return string.Format(Culture, ResourceManager.GetString("TypeDoesNotHaveMember", Culture), param0, param1);
106        }
107        
108        /// <summary>Gets localized string like: This method cannot be called for '{0}'. WriteObjectInline method can only be called for ODataEntityTypeSerializer and ODataFeedSerializer.</summary>
109        /// <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>
110        internal static string WriteObjectInlineNotSupported(object param0) {
111            return string.Format(Culture, ResourceManager.GetString("WriteObjectInlineNotSupported", Culture), param0);
112        }
113    }
114}
115