This commit is contained in:
2022-12-22 22:03:05 +00:00
parent 1ae645c153
commit 04e06dfed8
3 changed files with 120 additions and 1 deletions

View File

@@ -53,6 +53,19 @@ namespace Sockeye.Biz
return new CustomerNotifySubscriptionBiz(ct, userId, translationId, roles);
case SockType.Report:
return new ReportBiz(ct, userId, translationId, roles);
case SockType.License:
return new LicenseBiz(ct, userId, translationId, roles);
case SockType.TrialLicenseRequest:
return new TrialLicenseRequestBiz(ct, userId, translationId, roles);
case SockType.SubscriptionServer:
return new SubscriptionServerBiz(ct, userId, translationId, roles);
case SockType.Purchase:
return new PurchaseBiz(ct, userId, translationId, roles);
case SockType.Product:
return new ProductBiz(ct, userId, translationId, roles);
case SockType.GZCase:
return new GZCaseBiz(ct, userId, translationId, roles);
default:
throw new System.NotSupportedException($"Sockeye.BLL.BizObjectFactory::GetBizObject type {sockType.ToString()} is not supported");
}