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.Deployment/LambdaConverters.nuspec
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
<?xml version="1.0" encoding="utf-8" ?>
2
2
<package>
3
3
<metadata>
4
-
<id>LambdaConvertersAndCo</id>
4
+
<id>LambdaConverters</id>
5
5
<version />
6
-
<title>Lambda Converters and Co.</title>
7
-
<authors>Michael Damatov, Yeah69</authors>
6
+
<title>Lambda Converters</title>
7
+
<authors>Michael Damatov</authors>
8
8
<summary>Strongly-typed lambda expressions as value converters</summary>
9
-
<description>This is a forked version of the "Lambda Converters" framework from Michael Damatov (please see https://github.com/michael-damatov/lambda-converters). It extends its capabilities to "Lambda ValidationRules" and "Lambda DataTemplateSelectors". Besides that it decreases the required .Net version to 4.5, so broader range of project may use this library.</description>
<description>The library allows to create IValueConverter and IMultiValueConverter objects with the most convenient syntax available, ideally, using the lambda expressions.</description>
Copy file name to clipboardExpand all lines: Sources/LambdaConverters.Wpf/EventSource.cs
+38-19Lines changed: 38 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,8 @@ 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
35
+
Opcode=EventOpcode.Info,
36
+
Channel=EventChannel.Operational
36
37
)]
37
38
publicvoidMissingConvertFunction(
38
39
stringcallback,
@@ -59,7 +60,8 @@ public void MissingConvertFunction(
59
60
Message="The {0} is null, back conversion result is a value according to the specified error strategy ({1}).",
60
61
Level=EventLevel.Warning,
61
62
Keywords=Keywords.Converters,
62
-
Opcode=EventOpcode.Info
63
+
Opcode=EventOpcode.Info,
64
+
Channel=EventChannel.Operational
63
65
)]
64
66
publicvoidMissingConvertBackFunction(
65
67
stringcallback,
@@ -86,7 +88,8 @@ public void MissingConvertBackFunction(
86
88
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}).",
87
89
Level=EventLevel.Warning,
88
90
Keywords=Keywords.Converters,
89
-
Opcode=EventOpcode.Info
91
+
Opcode=EventOpcode.Info,
92
+
Channel=EventChannel.Operational
90
93
)]
91
94
publicvoidNonAssignableTargetType(
92
95
stringtargetType,
@@ -115,7 +118,8 @@ public void NonAssignableTargetType(
115
118
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}).",
@@ -144,7 +148,8 @@ public void NonAssignableTargetTypeForBackConversion(
144
148
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}).",
@@ -175,7 +180,8 @@ public void NonAssignableTargetTypeAtPositionForBackConversion(
175
180
Message="The provided values are null, conversion result is a value according to the specified error strategy ({0}).",
176
181
Level=EventLevel.Warning,
177
182
Keywords=Keywords.Converters,
178
-
Opcode=EventOpcode.Info
183
+
Opcode=EventOpcode.Info,
184
+
Channel=EventChannel.Operational
179
185
)]
180
186
publicvoidNullValues(
181
187
stringerrorStrategy,
@@ -200,7 +206,8 @@ public void NullValues(
200
206
Message="The target type is not requested.",
201
207
Level=EventLevel.Informational,
202
208
Keywords=Keywords.Converters,
203
-
Opcode=EventOpcode.Info
209
+
Opcode=EventOpcode.Info,
210
+
Channel=EventChannel.Operational
204
211
)]
205
212
publicvoidNonRequestedTargetType(
206
213
[CallerMemberName]stringmemberName=null,
@@ -223,7 +230,8 @@ public void NonRequestedTargetType(
223
230
Message="The target type at the position {0} is not requested.",
224
231
Level=EventLevel.Informational,
225
232
Keywords=Keywords.Converters,
226
-
Opcode=EventOpcode.Info
233
+
Opcode=EventOpcode.Info,
234
+
Channel=EventChannel.Operational
227
235
)]
228
236
publicvoidNonRequestedTargetTypeAtPosition(
229
237
intposition,
@@ -248,7 +256,8 @@ public void NonRequestedTargetTypeAtPosition(
248
256
Message="A conversion parameter ({0}) is provided, use the appropriate converter, conversion result is a value according to the specified error strategy ({1}).",
249
257
Level=EventLevel.Warning,
250
258
Keywords=Keywords.Converters,
251
-
Opcode=EventOpcode.Info
259
+
Opcode=EventOpcode.Info,
260
+
Channel=EventChannel.Operational
252
261
)]
253
262
publicvoidParameterInParameterlessConverter(
254
263
stringobjectType,
@@ -275,7 +284,8 @@ public void ParameterInParameterlessConverter(
275
284
Message="A conversion parameter ({0}) is provided, use the appropriate converter, back conversion result is a value according to the specified error strategy ({1}).",
@@ -302,7 +312,8 @@ public void ParameterInParameterlessConverterForBackConversion(
302
312
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}).",
303
313
Level=EventLevel.Warning,
304
314
Keywords=Keywords.Converters,
305
-
Opcode=EventOpcode.Info
315
+
Opcode=EventOpcode.Info,
316
+
Channel=EventChannel.Operational
306
317
)]
307
318
publicvoidUnableToCastToInputType(
308
319
stringobjectType,
@@ -331,7 +342,8 @@ public void UnableToCastToInputType(
331
342
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}).",
332
343
Level=EventLevel.Warning,
333
344
Keywords=Keywords.Converters,
334
-
Opcode=EventOpcode.Info
345
+
Opcode=EventOpcode.Info,
346
+
Channel=EventChannel.Operational
335
347
)]
336
348
publicvoidUnableToCastAtPositionToInputType(
337
349
stringobjectType,
@@ -362,7 +374,8 @@ public void UnableToCastAtPositionToInputType(
362
374
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}).",
363
375
Level=EventLevel.Warning,
364
376
Keywords=Keywords.Converters,
365
-
Opcode=EventOpcode.Info
377
+
Opcode=EventOpcode.Info,
378
+
Channel=EventChannel.Operational
366
379
)]
367
380
publicvoidUnableToCastToOutputType(
368
381
stringobjectType,
@@ -391,7 +404,8 @@ public void UnableToCastToOutputType(
391
404
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}).",
392
405
Level=EventLevel.Warning,
393
406
Keywords=Keywords.Converters,
394
-
Opcode=EventOpcode.Info
407
+
Opcode=EventOpcode.Info,
408
+
Channel=EventChannel.Operational
395
409
)]
396
410
publicvoidUnableToCastToParameterType(
397
411
stringobjectType,
@@ -420,7 +434,8 @@ public void UnableToCastToParameterType(
420
434
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}).",
@@ -449,7 +464,8 @@ public void UnableToCastToParameterTypeForBackConversion(
449
464
Message="The {0} is null, conversion result is a value according to the specified error strategy ({1}).",
450
465
Level=EventLevel.Warning,
451
466
Keywords=Keywords.Selectors,
452
-
Opcode=EventOpcode.Info
467
+
Opcode=EventOpcode.Info,
468
+
Channel=EventChannel.Operational
453
469
)]
454
470
publicvoidMissingSelectTemplateFunction(
455
471
stringcallback,
@@ -476,7 +492,8 @@ public void MissingSelectTemplateFunction(
476
492
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}).",
477
493
Level=EventLevel.Warning,
478
494
Keywords=Keywords.Selectors,
479
-
Opcode=EventOpcode.Info
495
+
Opcode=EventOpcode.Info,
496
+
Channel=EventChannel.Operational
480
497
)]
481
498
publicvoidUnableToCastToItemType(
482
499
stringitemType,
@@ -505,7 +522,8 @@ public void UnableToCastToItemType(
505
522
Message="The {0} is null, conversion result is a value according to the specified error strategy ({1}).",
506
523
Level=EventLevel.Warning,
507
524
Keywords=Keywords.Rules,
508
-
Opcode=EventOpcode.Info
525
+
Opcode=EventOpcode.Info,
526
+
Channel=EventChannel.Operational
509
527
)]
510
528
publicvoidMissingRuleFunction(
511
529
stringcallback,
@@ -532,7 +550,8 @@ public void MissingRuleFunction(
532
550
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