e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Configuration
|
|
{
|
|
using System.ServiceModel.Description;
|
|
|
|
public sealed partial class WebScriptEnablingElement : BehaviorExtensionElement
|
|
{
|
|
public WebScriptEnablingElement()
|
|
{
|
|
}
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Configuration", "Configuration102:ConfigurationPropertyAttributeRule", MessageId = "System.ServiceModel.Configuration.WebScriptEnablingElement.BehaviorType",
|
|
Justification = "Not a configurable property; a property that had to be overridden from abstract parent class")]
|
|
public override Type BehaviorType
|
|
{
|
|
get { return typeof(WebScriptEnablingBehavior); }
|
|
}
|
|
|
|
internal protected override object CreateBehavior()
|
|
{
|
|
return new WebScriptEnablingBehavior();
|
|
}
|
|
|
|
}
|
|
}
|