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