mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
eliminates region sections
This commit is contained in:
1 parent
705c02b90d
commit
405fc1ff9a
370 files changed
+47
-1618
No files matched your search
-2
@@ -12,7 +12,6 @@ namespace Lumina.Presentation.Web.Common.Utilities;
|
||||
/// </summary>
|
||||
public static class OptionsBuilderFluentValidationUtilities
|
||||
{
|
||||
#region ================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Extension method to add fluent validation to the options validation pipeline.
|
||||
/// </summary>
|
||||
@@ -29,5 +28,4 @@ public static class OptionsBuilderFluentValidationUtilities
|
||||
serviceProvider => new FluentValidationOptions<TOptions>(optionsBuilder.Name, serviceProvider.GetRequiredService<IValidator<TOptions>>()));
|
||||
return optionsBuilder;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Text.RegularExpressions;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Utilities;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for strings.
|
||||
/// </summary>
|
||||
public static class StringUtilities
|
||||
{
|
||||
#region ================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Splits a camel case string into separate words.
|
||||
/// </summary>
|
||||
/// <param name="input">The string to be split.</param>
|
||||
/// <returns>The split string.</returns>
|
||||
public static string SplitCamelCase(this string input)
|
||||
{
|
||||
return Regex.Replace(input, "([A-Z])", " $1", RegexOptions.Compiled).Trim();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user