-
-
Notifications
You must be signed in to change notification settings - Fork 794
/
Resources.resx
369 lines (358 loc) · 18.4 KB
/
Resources.resx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="FieldsNotSupported" xml:space="preserve">
<value>Expression {0} involves a field access, which is not supported. Use properties instead.</value>
</data>
<data name="InvalidMockClass" xml:space="preserve">
<value>Type to mock must be an interface or an abstract or non-sealed class. </value>
</data>
<data name="MockExceptionMessage" xml:space="preserve">
<value>{0} invocation failed with mock behavior {1}.
{2}</value>
</data>
<data name="UnsupportedExpression" xml:space="preserve">
<value>Unsupported expression: {0}</value>
</data>
<data name="NoSetup" xml:space="preserve">
<value>All invocations on the mock must have a corresponding setup.</value>
</data>
<data name="ReturnValueRequired" xml:space="preserve">
<value>Invocation needs to return a value and therefore must have a corresponding setup that provides it.</value>
</data>
<data name="UnmatchedSetup" xml:space="preserve">
<value>{0}:
This setup was not matched.</value>
</data>
<data name="ConstructorArgsForInterface" xml:space="preserve">
<value>Constructor arguments cannot be passed for interface mocks.</value>
</data>
<data name="ConstructorArgsForDelegate" xml:space="preserve">
<value>Constructor arguments cannot be passed for delegate mocks.</value>
</data>
<data name="ConstructorNotFound" xml:space="preserve">
<value>A matching constructor for the given arguments was not found on the mocked type.</value>
</data>
<data name="MoreThanOneCall" xml:space="preserve">
<value>Expected only one call to {0}.</value>
</data>
<data name="ObjectInstanceNotMock" xml:space="preserve">
<value>Object instance was not created by Moq.</value>
</data>
<data name="SetupNotProperty" xml:space="preserve">
<value>Expression is not a property access: {0}</value>
</data>
<data name="MethodIsPublic" xml:space="preserve">
<value>Method {0}.{1} is public. Use strong-typed Expect overload instead:
mock.Setup(x => x.{1}());
</value>
</data>
<data name="MemberMissing" xml:space="preserve">
<value>Member {0}.{1} does not exist.</value>
</data>
<data name="UnexpectedPublicProperty" xml:space="preserve">
<value>To specify a setup for public property {0}.{1}, use the typed overloads, such as:
mock.Setup(x => x.{1}).Returns(value);
mock.SetupGet(x => x.{1}).Returns(value); //equivalent to previous one
mock.SetupSet(x => x.{1}).Callback(callbackDelegate);
</value>
</data>
<data name="CantSetReturnValueForVoid" xml:space="preserve">
<value>Can't set return value for void method {0}.</value>
</data>
<data name="UnsupportedMember" xml:space="preserve">
<value>Member {0} is not supported for protected mocking.</value>
</data>
<data name="RaisedUnassociatedEvent" xml:space="preserve">
<value>Cannot raise a mocked event unless it has been associated (attached) to a concrete event in a mocked object.</value>
</data>
<data name="SetupNotMethod" xml:space="preserve">
<value>Expression is not a method invocation: {0}</value>
</data>
<data name="NoMatchingCallsAtLeastOnce" xml:space="preserve">
<value>Expected invocation on the mock at least once, but was never performed: </value>
</data>
<data name="AlreadyInitialized" xml:space="preserve">
<value>Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that.</value>
</data>
<data name="AsMustBeInterface" xml:space="preserve">
<value>Can only add interfaces to the mock.</value>
</data>
<data name="InvalidMockGetType" xml:space="preserve">
<value>Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces.
Please cast the argument to one of the supported types: {1}.
Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed.</value>
</data>
<data name="MoreThanNCalls" xml:space="preserve">
<value>Expected only {0} calls to {1}.</value>
</data>
<data name="SetupNotSetter" xml:space="preserve">
<value>Expression is not a property setter invocation.</value>
</data>
<data name="ArgumentCannotBeEmpty" xml:space="preserve">
<value>Value cannot be an empty string.</value>
</data>
<data name="TypeNotImplementInterface" xml:space="preserve">
<value>Type {0} does not implement required interface {1}</value>
</data>
<data name="TypeNotInheritFromType" xml:space="preserve">
<value>Type {0} does not from required type {1}</value>
</data>
<data name="NoMatchingCallsAtLeast" xml:space="preserve">
<value>Expected invocation on the mock at least {0} times, but was {2} times: </value>
</data>
<data name="NoMatchingCallsAtMost" xml:space="preserve">
<value>Expected invocation on the mock at most {1} times, but was {2} times: </value>
</data>
<data name="NoMatchingCallsAtMostOnce" xml:space="preserve">
<value>Expected invocation on the mock at most once, but was {2} times: </value>
</data>
<data name="NoMatchingCallsBetweenInclusive" xml:space="preserve">
<value>Expected invocation on the mock between {0} and {1} times (Inclusive), but was {2} times: </value>
</data>
<data name="NoMatchingCallsExactly" xml:space="preserve">
<value>Expected invocation on the mock exactly {0} times, but was {2} times: </value>
</data>
<data name="NoMatchingCallsNever" xml:space="preserve">
<value>Expected invocation on the mock should never have been performed, but was {2} times: </value>
</data>
<data name="NoMatchingCallsBetweenExclusive" xml:space="preserve">
<value>Expected invocation on the mock between {0} and {1} times (Exclusive), but was {2} times: </value>
</data>
<data name="NoMatchingCallsOnce" xml:space="preserve">
<value>Expected invocation on the mock once, but was {2} times: </value>
</data>
<data name="OutExpressionMustBeConstantValue" xml:space="preserve">
<value>Out expression must evaluate to a constant value.</value>
</data>
<data name="RefExpressionMustBeConstantValue" xml:space="preserve">
<value>Ref expression must evaluate to a constant value.</value>
</data>
<data name="LinqMethodNotSupported" xml:space="preserve">
<value>LINQ method '{0}' not supported.</value>
</data>
<data name="EventNotFound" xml:space="preserve">
<value>Could not locate event for attach or detach method {0}.</value>
</data>
<data name="LinqBinaryOperatorNotSupported" xml:space="preserve">
<value>The equals ("==" or "=" in VB) and the conditional 'and' ("&&" or "AndAlso" in VB) operators are the only ones supported in the query specification expression. Unsupported expression: {0}</value>
</data>
<data name="LinqMethodNotVirtual" xml:space="preserve">
<value>Expression contains a call to a method which is not virtual (overridable in VB) or abstract. Unsupported expression: {0}</value>
</data>
<data name="PropertySetNotFound" xml:space="preserve">
<value>Property {0}.{1} does not have a setter.</value>
</data>
<data name="PropertyGetNotFound" xml:space="preserve">
<value>Property {0}.{1} does not have a getter.</value>
</data>
<data name="UnhandledBindingType" xml:space="preserve">
<value>Unhandled binding type: {0}</value>
</data>
<data name="UnhandledExpressionType" xml:space="preserve">
<value>Unhandled expression type: {0}</value>
</data>
<data name="DelaysMustBeGreaterThanZero" xml:space="preserve">
<value>Delays have to be greater than zero to ensure an async callback is used.</value>
</data>
<data name="ExpressionIsNotEventAttachOrDetachOrIsNotVirtual" xml:space="preserve">
<value>Expression is not an event attach or detach, or the event is declared in a class but not marked virtual.</value>
</data>
<data name="InvalidCallbackParameterMismatch" xml:space="preserve">
<value>Invalid callback. Setup on method with parameters ({0}) cannot invoke callback with parameters ({1}).</value>
</data>
<data name="MinDelayMustBeLessThanMaxDelay" xml:space="preserve">
<value>Minimum delay has to be lower than maximum delay.</value>
</data>
<data name="NoInvocationsPerformed" xml:space="preserve">
<value>No invocations performed.</value>
</data>
<data name="NoSetupsConfigured" xml:space="preserve">
<value>No setups configured.</value>
</data>
<data name="PerformedInvocations" xml:space="preserve">
<value>Performed invocations:</value>
</data>
<data name="UnexpectedTranslationOfMemberAccess" xml:space="preserve">
<value>Unexpected translation of a member access: {0}</value>
</data>
<data name="UseItExprIsNullRatherThanNullArgumentValue" xml:space="preserve">
<value>Use ItExpr.IsNull<TValue> rather than a null argument value, as it prevents proper method lookup.</value>
</data>
<data name="MethodNotVisibleToProxyFactory" xml:space="preserve">
<value>Cannot set up {0}.{1} because it is not accessible to the proxy generator used by Moq:
{2}</value>
</data>
<data name="InvalidCallbackNotADelegateWithReturnTypeVoid" xml:space="preserve">
<value>Invalid callback. This overload of the "Callback" method only accepts "void" (C#) or "Sub" (VB.NET) delegates with parameter types matching those of the set up method.</value>
</data>
<data name="InvalidReturnsCallbackNotADelegateWithReturnType" xml:space="preserve">
<value>Invalid callback. This overload of the "Returns" method only accepts non-"void" (C#) or "Function" (VB.NET) delegates with parameter types matching those of the set up method.</value>
</data>
<data name="ProtectedMemberNotFound" xml:space="preserve">
<value>Type {0} does not have matching protected member: {1}</value>
</data>
<data name="InvalidCallbackReturnTypeMismatch" xml:space="preserve">
<value>Invalid callback. Setup on method with return type ({0}) cannot invoke callback with return type ({1}).</value>
</data>
<data name="InvalidCallbackParameterCountMismatch" xml:space="preserve">
<value>Invalid callback. Setup on method with {0} parameter(s) cannot invoke callback with different number of parameters ({1}).</value>
</data>
<data name="UnverifiedInvocations" xml:space="preserve">
<value>{0}:
This mock failed verification due to the following unverified invocations:</value>
</data>
<data name="CallBaseCannotBeUsedWithDelegateMocks" xml:space="preserve">
<value>CallBase cannot be used with Delegate mocks.</value>
</data>
<data name="VerificationErrorsOfMock" xml:space="preserve">
<value>{0}:
This mock failed verification due to the following:</value>
</data>
<data name="VerificationErrorsOfMockRepository" xml:space="preserve">
<value>The mock repository failed verification due to the following:</value>
</data>
<data name="VerificationErrorsOfInnerMock" xml:space="preserve">
<value>{0}:</value>
</data>
<data name="UnsupportedExpressionWithHint" xml:space="preserve">
<value>Unsupported expression: {0}
{1}</value>
</data>
<data name="LastMemberHasNonInterceptableReturnType" xml:space="preserve">
<value>The return type of the last member shown above is not mockable.</value>
</data>
<data name="NextMemberNonInterceptable" xml:space="preserve">
<value>The next member after the last one shown above is non-virtual, sealed, or not visible to the proxy factory.</value>
</data>
<data name="MatcherAssignmentFailedDuringExpressionReconstruction" xml:space="preserve">
<value>Could not determine the correct positions for all argument matchers ({0} in total) used in a call to this method: {1}.
This could be caused by an unrecognized type conversion, coercion, narrowing, or widening, and is most likely a bug in Moq. Please report your use case to the Moq team.</value>
</data>
<data name="UnsupportedExtensionMethod" xml:space="preserve">
<value>Extension methods (here: {0}) may not be used in setup / verification expressions.</value>
</data>
<data name="UnsupportedNonOverridableMember" xml:space="preserve">
<value>Non-overridable members (here: {0}) may not be used in setup / verification expressions.</value>
</data>
<data name="UnsupportedStaticMember" xml:space="preserve">
<value>Static members (here: {0}) may not be used in setup / verification expressions.</value>
</data>
<data name="MethodMissing" xml:space="preserve">
<value>No protected method {0}.{1} found whose signature is compatible with the provided arguments ({2}).</value>
</data>
<data name="SetupNotEventAdd" xml:space="preserve">
<value>Expression is not an event add: {0}</value>
</data>
<data name="SetupNotEventRemove" xml:space="preserve">
<value>Expression is not an event remove: {0}</value>
</data>
<data name="ArgumentMatcherWillNeverMatch" xml:space="preserve">
<value>Matcher '{0}' is unmatchable: An implicit conversion operator will convert arguments of type '{1}' to the parameter's type '{2}', which is assignment-incompatible.</value>
</data>
</root>