diff --git a/DI/XDIHelperExtension.cs b/DI/XDIHelperExtension.cs index 8ea80d6..3fef2dd 100644 --- a/DI/XDIHelperExtension.cs +++ b/DI/XDIHelperExtension.cs @@ -6,6 +6,7 @@ using xFileService.Interfaces; using xFileService.Interfaces.Entities; using xFileService.Providers; using xStorageService.Interfaces; +using xTagService.Interfaces; namespace xFileService.DI { @@ -81,11 +82,12 @@ namespace xFileService.DI // Check Dependencies Exists ... var isDependenciesPassed = !services .GetRegisteredService() - .IsNull(); + .IsNull() && + !services.GetRegisteredService().IsNull(); if (!isDependenciesPassed) { // - Log("AddFileService failed due Dependencies Issues, IXStorageProvider not provided ..."); + Log("AddFileService failed due Dependencies Issues, IXTagProvider, IXStorageProvider not provided ..."); throw exception; }