+5
-14
lines changedFilter options
+5
-14
lines changed Original file line number Diff line number Diff line change
@@ -459,7 +459,6 @@ public class Execute : _Execute<T>, IExecuteOperation
459
459
Type? IOperation.ReturnType { get { return null; } }
460
460
Type? IOperation.StateType { get { return null; } }
461
461
public bool AvoidImplicitSave { get; set; }
462
-
public bool AvoidImplicitSave { get; set; }
463
462
464
463
Type IEntityOperation.BaseType { get { return Symbol.BaseType; } }
465
464
bool IEntityOperation.HasCanExecute { get { return CanExecute != null; } }
Original file line number Diff line number Diff line change
@@ -34,10 +34,10 @@ public static string DefaultText(this string? str, string defaultText)
34
34
}
35
35
36
36
#pragma warning disable IDE0052 // Remove unread private members
37
-
static readonly Expression<Func<string, string>> EmtpyToNullExpression = a => a == null || a.Length == 0 ? null : a;
37
+
static readonly Expression<Func<string, string>> DefaultToNullExpression = a => a == null || a.Length == 0 ? null : a;
38
38
#pragma warning restore IDE0052 // Remove unread private members
39
39
[ExpressionField("EmtpyToNullExpression")]
40
-
public static string? EmtpyToNull(this string? str)
40
+
public static string? DefaultToNull(this string? str)
41
41
{
42
42
if (!str.HasText())
43
43
return null;
@@ -836,15 +836,5 @@ public static string[] SplitNoEmpty(this string text, params char[] separators)
836
836
{
837
837
return text.Split(separators, StringSplitOptions.RemoveEmptyEntries);
838
838
}
839
-
840
-
public static string EmptyToNull(this string text)
841
-
{
842
-
return string.IsNullOrEmpty(text) ? null : text;
843
-
}
844
-
845
-
public static string WhiteSpaceToNull(this string text)
846
-
{
847
-
return string.IsNullOrWhiteSpace(text) ? null : text;
848
-
}
849
839
}
850
840
}
Original file line number Diff line number Diff line change
@@ -16,7 +16,9 @@ public static bool IsTuple(Type type)
16
16
17
17
private static bool IsTupleDefinition(Type genericTypeDefinition)
18
18
{
19
-
return genericTypeDefinition == TupleOf(genericTypeDefinition.GetGenericArguments().Length);
19
+
var numParameters = genericTypeDefinition.GetGenericArguments().Length;
20
+
21
+
return numParameters <= 8 && genericTypeDefinition == TupleOf(numParameters);
20
22
}
21
23
22
24
public static Type TupleOf(int numParameters)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4