20 lines
443 B
C#
20 lines
443 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.ServiceModel.Configuration;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWo.Service.ServiceBehavior.JsonError
|
|
{
|
|
public class JsonErrorBehaviorExtension : BehaviorExtensionElement
|
|
{
|
|
public override Type BehaviorType => typeof(JsonErrorBehavior);
|
|
|
|
protected override object CreateBehavior()
|
|
{
|
|
return new JsonErrorBehavior();
|
|
}
|
|
}
|
|
}
|