1234567891011121314151617181920212223242526272829 |
- #if FEAT_SERVICEMODEL && PLAT_XMLSERIALIZER && FEAT_SERVICECONFIGMODEL
- using System;
- using System.ServiceModel.Configuration;
- namespace ProtoBuf.ServiceModel
- {
-
-
-
-
- public class ProtoBehaviorExtension : BehaviorExtensionElement
- {
-
-
-
- public ProtoBehaviorExtension() { }
-
-
-
- public override Type BehaviorType => typeof(ProtoEndpointBehavior);
-
-
-
-
- protected override object CreateBehavior() => new ProtoEndpointBehavior();
- }
- }
- #endif
|