-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #507 from bilal-fazlani/modernize
modernize code and fix or ignore all warnings
- Loading branch information
Showing
481 changed files
with
25,672 additions
and
26,951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
using CommandDotNet.Execution; | ||
|
||
namespace CommandDotNet.DataAnnotations | ||
namespace CommandDotNet.DataAnnotations; | ||
|
||
public static class MiddlewareSteps | ||
{ | ||
public static class MiddlewareSteps | ||
{ | ||
public static MiddlewareStep DataAnnotations { get; set; } = Execution.MiddlewareSteps.ValidateArity - 1100; | ||
} | ||
public static MiddlewareStep DataAnnotations { get; set; } = Execution.MiddlewareSteps.ValidateArity - 1100; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace CommandDotNet.DataAnnotations | ||
namespace CommandDotNet.DataAnnotations; | ||
|
||
public class Resources | ||
{ | ||
public class Resources | ||
{ | ||
public static Resources A = new(); | ||
public static Resources A = new(); | ||
|
||
public virtual string Error_DataAnnotation_phrases_to_replace_with_argument_name() => | ||
"The {0} field|The field {0}|The {0} property|The property {0}"; | ||
} | ||
public virtual string Error_DataAnnotation_phrases_to_replace_with_argument_name() => | ||
"The {0} field|The field {0}|The {0} property|The property {0}"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.