From e20d75865ccb95a62acbba580a26a2e4c66b6ce8 Mon Sep 17 00:00:00 2001 From: Nicholas-Westby Date: Fri, 8 May 2020 17:16:39 -0700 Subject: [PATCH] feat (Configuration) mark members of configuration manager as virtual so derived class can override them For instance, to load configuration values from a place other than the default files. --- .../Managers/DefaultConfigurationManager.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/formulate.app/Managers/DefaultConfigurationManager.cs b/src/formulate.app/Managers/DefaultConfigurationManager.cs index 7c54fa7f..f0b2a61c 100644 --- a/src/formulate.app/Managers/DefaultConfigurationManager.cs +++ b/src/formulate.app/Managers/DefaultConfigurationManager.cs @@ -22,7 +22,7 @@ internal class DefaultConfigurationManager : IConfigurationManager /// /// The base path to store JSON in. /// - public string JsonBasePath + public virtual string JsonBasePath { get { @@ -38,7 +38,7 @@ public string JsonBasePath /// /// The base path toe store submitted files in. /// - public string FileStoreBasePath + public virtual string FileStoreBasePath { get { @@ -54,7 +54,7 @@ public string FileStoreBasePath /// /// The templates used to render forms. /// - public IEnumerable