last ...
This commit is contained in:
@@ -89,16 +89,6 @@ namespace xWebinarService.DI {
|
||||
throw exception;
|
||||
}
|
||||
|
||||
//
|
||||
// Check WEBRTC Hub Exists ...
|
||||
var isWebRTCHubExists = !services.GetRegisteredService<XWebinarHub>().IsNull();
|
||||
if (!isWebRTCHubExists)
|
||||
{
|
||||
//
|
||||
Log("AddWebinarService failed, XWebinarHub not provided ...");
|
||||
throw exception;
|
||||
}
|
||||
|
||||
//
|
||||
// Register Resource Providers ...
|
||||
services.Add(new ServiceDescriptor(typeof(IXWebinarTitleResourceProvider), typeof(XWebinarTitleResourceProvider), lifeTime));
|
||||
|
||||
Reference in New Issue
Block a user