From e77477b81e5623502b19db0fb29d4ea88c26b934 Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 8 Apr 2023 16:43:52 -0400 Subject: Passwords singlton and user-loading --- .../src/ConfigurationExtensions.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/VNLib.Plugins.Extensions.Loading/src/ConfigurationExtensions.cs') diff --git a/lib/VNLib.Plugins.Extensions.Loading/src/ConfigurationExtensions.cs b/lib/VNLib.Plugins.Extensions.Loading/src/ConfigurationExtensions.cs index 0ae6ed6..190c153 100644 --- a/lib/VNLib.Plugins.Extensions.Loading/src/ConfigurationExtensions.cs +++ b/lib/VNLib.Plugins.Extensions.Loading/src/ConfigurationExtensions.cs @@ -221,12 +221,12 @@ namespace VNLib.Plugins.Extensions.Loading /// /// Deserialzes the configuration to the desired object and calls its /// method. Validation exceptions - /// are wrapped in a + /// are wrapped in a /// /// /// /// - /// + /// public static T DeserialzeAndValidate(this IConfigScope scope) where T : IOnConfigValidation { T conf = scope.Deserialze(); @@ -236,7 +236,7 @@ namespace VNLib.Plugins.Extensions.Loading } catch(Exception ex) { - throw new ConfigrationValidationException($"Configuration validation failed for type {typeof(T).Name}", ex); + throw new ConfigurationValidationException($"Configuration validation failed for type {typeof(T).Name}", ex); } return conf; } @@ -261,7 +261,7 @@ namespace VNLib.Plugins.Extensions.Loading /// and deserializes it into the desired type. /// /// If the type inherits the - /// method is invoked, and exceptions are warpped in + /// method is invoked, and exceptions are warpped in /// /// /// If the type inherits the @@ -271,7 +271,7 @@ namespace VNLib.Plugins.Extensions.Loading /// The configuration type /// /// The deserialzed configuration element - /// + /// public static TConfig GetConfigElement(this PluginBase plugin) { //Deserialze the element @@ -286,7 +286,7 @@ namespace VNLib.Plugins.Extensions.Loading } catch (Exception ex) { - throw new ConfigrationValidationException($"Configuration validation failed for type {typeof(TConfig).Name}", ex); + throw new ConfigurationValidationException($"Configuration validation failed for type {typeof(TConfig).Name}", ex); } } @@ -304,7 +304,7 @@ namespace VNLib.Plugins.Extensions.Loading /// and deserializes it into the desired type. /// /// If the type inherits the - /// method is invoked, and exceptions are warpped in + /// method is invoked, and exceptions are warpped in /// /// /// If the type inherits the @@ -315,7 +315,7 @@ namespace VNLib.Plugins.Extensions.Loading /// /// The configuration element name override /// The deserialzed configuration element - /// + /// public static TConfig GetConfigElement(this PluginBase plugin, string elementName) { //Deserialze the element @@ -330,7 +330,7 @@ namespace VNLib.Plugins.Extensions.Loading } catch (Exception ex) { - throw new ConfigrationValidationException($"Configuration validation failed for type {typeof(TConfig).Name}", ex); + throw new ConfigurationValidationException($"Configuration validation failed for type {typeof(TConfig).Name}", ex); } } -- cgit