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