This commit is contained in:
2019-10-22 20:51:15 +00:00
parent bcd050c4c9
commit 89979705d7
3 changed files with 9 additions and 0 deletions

View File

@@ -25,6 +25,11 @@ namespace AyaNova.Util
{
get
{
#if (DEBUG)
if(_provider==null){
throw new System.NotSupportedException("ServiceProviderProvider.cs - Attempt to use service provider before it's been initialized");
}
#endif
return _provider;
}
set