2026-06-25 01:46:21 +02:00
|
|
|
|
using BeWo.ServerUtils.Core;
|
|
|
|
|
|
using BS.Shared.Core;
|
2026-03-09 12:40:29 +01:00
|
|
|
|
using System;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
using System.ServiceModel.Configuration;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BeWo.Service.Multitenancy
|
|
|
|
|
|
{
|
|
|
|
|
|
public class MultitenancyBehaviorExtension : BehaviorExtensionElement
|
|
|
|
|
|
{
|
|
|
|
|
|
public override Type BehaviorType
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return typeof(MultitenancyEndpointBehavior);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override object CreateBehavior()
|
|
|
|
|
|
{
|
2026-03-09 12:40:29 +01:00
|
|
|
|
LoggerUtils.InitLogger();
|
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
|
return new MultitenancyEndpointBehavior();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|