You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/LambdaConverters.Wpf/EventSource.cs
+76-38Lines changed: 76 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,10 @@ public static class Keywords
32
32
Message="The {0} is null, conversion result is a value according to the specified error strategy ({1}).",
33
33
Level=EventLevel.Warning,
34
34
Keywords=Keywords.Converters,
35
-
Opcode=EventOpcode.Info,
36
-
Channel=EventChannel.Operational
35
+
Opcode=EventOpcode.Info
36
+
#if NET46
37
+
,Channel=EventChannel.Operational
38
+
#endif
37
39
)]
38
40
publicvoidMissingConvertFunction(
39
41
stringcallback,
@@ -60,8 +62,10 @@ public void MissingConvertFunction(
60
62
Message="The {0} is null, back conversion result is a value according to the specified error strategy ({1}).",
61
63
Level=EventLevel.Warning,
62
64
Keywords=Keywords.Converters,
63
-
Opcode=EventOpcode.Info,
64
-
Channel=EventChannel.Operational
65
+
Opcode=EventOpcode.Info
66
+
#if NET46
67
+
,Channel=EventChannel.Operational
68
+
#endif
65
69
)]
66
70
publicvoidMissingConvertBackFunction(
67
71
stringcallback,
@@ -88,8 +92,10 @@ public void MissingConvertBackFunction(
88
92
Message="The requested target type ({0}) is not assignable from the specified output type ({1}), conversion result is a value according to the specified error strategy ({2}).",
89
93
Level=EventLevel.Warning,
90
94
Keywords=Keywords.Converters,
91
-
Opcode=EventOpcode.Info,
92
-
Channel=EventChannel.Operational
95
+
Opcode=EventOpcode.Info
96
+
#if NET46
97
+
,Channel=EventChannel.Operational
98
+
#endif
93
99
)]
94
100
publicvoidNonAssignableTargetType(
95
101
stringtargetType,
@@ -118,8 +124,10 @@ public void NonAssignableTargetType(
118
124
Message="The requested target type ({0}) is not assignable from the specified input type ({1}), back conversion result is a value according to the specified error strategy ({2}).",
@@ -148,8 +156,10 @@ public void NonAssignableTargetTypeForBackConversion(
148
156
Message="The requested target type ({0}) at the position {1} is not assignable from the specified input type ({2}), back conversion result is a value according to the specified error strategy ({3}).",
@@ -180,8 +190,10 @@ public void NonAssignableTargetTypeAtPositionForBackConversion(
180
190
Message="The provided values are null, conversion result is a value according to the specified error strategy ({0}).",
181
191
Level=EventLevel.Warning,
182
192
Keywords=Keywords.Converters,
183
-
Opcode=EventOpcode.Info,
184
-
Channel=EventChannel.Operational
193
+
Opcode=EventOpcode.Info
194
+
#if NET46
195
+
,Channel=EventChannel.Operational
196
+
#endif
185
197
)]
186
198
publicvoidNullValues(
187
199
stringerrorStrategy,
@@ -206,8 +218,10 @@ public void NullValues(
206
218
Message="The target type is not requested.",
207
219
Level=EventLevel.Informational,
208
220
Keywords=Keywords.Converters,
209
-
Opcode=EventOpcode.Info,
210
-
Channel=EventChannel.Operational
221
+
Opcode=EventOpcode.Info
222
+
#if NET46
223
+
,Channel=EventChannel.Operational
224
+
#endif
211
225
)]
212
226
publicvoidNonRequestedTargetType(
213
227
[CallerMemberName]stringmemberName=null,
@@ -230,8 +244,10 @@ public void NonRequestedTargetType(
230
244
Message="The target type at the position {0} is not requested.",
231
245
Level=EventLevel.Informational,
232
246
Keywords=Keywords.Converters,
233
-
Opcode=EventOpcode.Info,
234
-
Channel=EventChannel.Operational
247
+
Opcode=EventOpcode.Info
248
+
#if NET46
249
+
,Channel=EventChannel.Operational
250
+
#endif
235
251
)]
236
252
publicvoidNonRequestedTargetTypeAtPosition(
237
253
intposition,
@@ -256,8 +272,10 @@ public void NonRequestedTargetTypeAtPosition(
256
272
Message="A conversion parameter ({0}) is provided, use the appropriate converter, conversion result is a value according to the specified error strategy ({1}).",
257
273
Level=EventLevel.Warning,
258
274
Keywords=Keywords.Converters,
259
-
Opcode=EventOpcode.Info,
260
-
Channel=EventChannel.Operational
275
+
Opcode=EventOpcode.Info
276
+
#if NET46
277
+
,Channel=EventChannel.Operational
278
+
#endif
261
279
)]
262
280
publicvoidParameterInParameterlessConverter(
263
281
stringobjectType,
@@ -284,8 +302,10 @@ public void ParameterInParameterlessConverter(
284
302
Message="A conversion parameter ({0}) is provided, use the appropriate converter, back conversion result is a value according to the specified error strategy ({1}).",
@@ -312,8 +332,10 @@ public void ParameterInParameterlessConverterForBackConversion(
312
332
Message="The value ({0}) cannot be cast to the specified input type ({1}), conversion result is a value according to the specified error strategy ({2}).",
313
333
Level=EventLevel.Warning,
314
334
Keywords=Keywords.Converters,
315
-
Opcode=EventOpcode.Info,
316
-
Channel=EventChannel.Operational
335
+
Opcode=EventOpcode.Info
336
+
#if NET46
337
+
,Channel=EventChannel.Operational
338
+
#endif
317
339
)]
318
340
publicvoidUnableToCastToInputType(
319
341
stringobjectType,
@@ -342,8 +364,10 @@ public void UnableToCastToInputType(
342
364
Message="The value ({0}) at the position {1} cannot be cast to the specified input type ({2}), conversion result is a value according to the specified error strategy ({3}).",
343
365
Level=EventLevel.Warning,
344
366
Keywords=Keywords.Converters,
345
-
Opcode=EventOpcode.Info,
346
-
Channel=EventChannel.Operational
367
+
Opcode=EventOpcode.Info
368
+
#if NET46
369
+
,Channel=EventChannel.Operational
370
+
#endif
347
371
)]
348
372
publicvoidUnableToCastAtPositionToInputType(
349
373
stringobjectType,
@@ -374,8 +398,10 @@ public void UnableToCastAtPositionToInputType(
374
398
Message="The value ({0}) cannot be cast to the specified output type ({1}), back conversion result is a value according to the specified error strategy ({2}).",
375
399
Level=EventLevel.Warning,
376
400
Keywords=Keywords.Converters,
377
-
Opcode=EventOpcode.Info,
378
-
Channel=EventChannel.Operational
401
+
Opcode=EventOpcode.Info
402
+
#if NET46
403
+
,Channel=EventChannel.Operational
404
+
#endif
379
405
)]
380
406
publicvoidUnableToCastToOutputType(
381
407
stringobjectType,
@@ -404,8 +430,10 @@ public void UnableToCastToOutputType(
404
430
Message="The parameter value ({0}) cannot be cast to the specified parameter type ({1}), conversion result is a value according to the specified error strategy ({2}).",
405
431
Level=EventLevel.Warning,
406
432
Keywords=Keywords.Converters,
407
-
Opcode=EventOpcode.Info,
408
-
Channel=EventChannel.Operational
433
+
Opcode=EventOpcode.Info
434
+
#if NET46
435
+
,Channel=EventChannel.Operational
436
+
#endif
409
437
)]
410
438
publicvoidUnableToCastToParameterType(
411
439
stringobjectType,
@@ -434,8 +462,10 @@ public void UnableToCastToParameterType(
434
462
Message="The parameter value ({0}) cannot be cast to the specified parameter type ({1}), back conversion result is a value according to the specified error strategy ({2}).",
@@ -464,8 +494,10 @@ public void UnableToCastToParameterTypeForBackConversion(
464
494
Message="The {0} is null, conversion result is a value according to the specified error strategy ({1}).",
465
495
Level=EventLevel.Warning,
466
496
Keywords=Keywords.Selectors,
467
-
Opcode=EventOpcode.Info,
468
-
Channel=EventChannel.Operational
497
+
Opcode=EventOpcode.Info
498
+
#if NET46
499
+
,Channel=EventChannel.Operational
500
+
#endif
469
501
)]
470
502
publicvoidMissingSelectTemplateFunction(
471
503
stringcallback,
@@ -492,8 +524,10 @@ public void MissingSelectTemplateFunction(
492
524
Message="The value ({0}) cannot be cast to the specified input type ({1}), conversion result is a value according to the specified error strategy ({2}).",
493
525
Level=EventLevel.Warning,
494
526
Keywords=Keywords.Selectors,
495
-
Opcode=EventOpcode.Info,
496
-
Channel=EventChannel.Operational
527
+
Opcode=EventOpcode.Info
528
+
#if NET46
529
+
,Channel=EventChannel.Operational
530
+
#endif
497
531
)]
498
532
publicvoidUnableToCastToItemType(
499
533
stringitemType,
@@ -522,8 +556,10 @@ public void UnableToCastToItemType(
522
556
Message="The {0} is null, conversion result is a value according to the specified error strategy ({1}).",
523
557
Level=EventLevel.Warning,
524
558
Keywords=Keywords.Rules,
525
-
Opcode=EventOpcode.Info,
526
-
Channel=EventChannel.Operational
559
+
Opcode=EventOpcode.Info
560
+
#if NET46
561
+
,Channel=EventChannel.Operational
562
+
#endif
527
563
)]
528
564
publicvoidMissingRuleFunction(
529
565
stringcallback,
@@ -550,8 +586,10 @@ public void MissingRuleFunction(
550
586
Message="The value ({0}) cannot be cast to the specified input type ({1}), conversion result is a value according to the specified error strategy ({2}).",
0 commit comments