Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / ServiceMetadataContractBehavior.cs / 1 / ServiceMetadataContractBehavior.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Description
{
using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
class ServiceMetadataContractBehavior : IContractBehavior
{
bool metadataGenerationDisabled = false;
public ServiceMetadataContractBehavior()
{
}
public ServiceMetadataContractBehavior(bool metadataGenerationDisabled)
: this()
{
this.metadataGenerationDisabled = metadataGenerationDisabled;
}
public bool MetadataGenerationDisabled
{
get { return this.metadataGenerationDisabled; }
set { this.metadataGenerationDisabled = value; }
}
#region IContractBehavior Members
void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint)
{
}
void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch)
{
}
void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters)
{
}
void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
{
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ADConnectionHelper.cs
- SqlDataSource.cs
- XmlMembersMapping.cs
- LinearGradientBrush.cs
- Msec.cs
- XmlNodeChangedEventArgs.cs
- IconHelper.cs
- HttpWebResponse.cs
- ToolBarOverflowPanel.cs
- GcHandle.cs
- ListView.cs
- BitStream.cs
- OdbcReferenceCollection.cs
- SchemaImporterExtension.cs
- DataGridParentRows.cs
- PartialTrustVisibleAssembliesSection.cs
- ComponentEditorForm.cs
- LinkUtilities.cs
- MenuTracker.cs
- AssertSection.cs
- FileDialogPermission.cs
- UrlAuthorizationModule.cs
- NodeInfo.cs
- BlockUIContainer.cs
- XmlSchemaCompilationSettings.cs
- Exceptions.cs
- DataServiceCollectionOfT.cs
- TimeSpanFormat.cs
- TextTreeObjectNode.cs
- DataGridViewRowHeaderCell.cs
- AnnotationObservableCollection.cs
- Expressions.cs
- RegexBoyerMoore.cs
- ListItemCollection.cs
- InstanceDataCollectionCollection.cs
- SerialPort.cs
- PropertyValueUIItem.cs
- DockPatternIdentifiers.cs
- WindowsButton.cs
- DataFormats.cs
- KeyEvent.cs
- FixedSOMPage.cs
- QueryCursorEventArgs.cs
- FontDifferentiator.cs
- LineGeometry.cs
- SecUtil.cs
- Rfc2898DeriveBytes.cs
- ZipFileInfoCollection.cs
- EncoderParameters.cs
- HttpPostProtocolImporter.cs
- QilList.cs
- _AuthenticationState.cs
- SSmlParser.cs
- TemplateBamlRecordReader.cs
- KeyboardEventArgs.cs
- Int16KeyFrameCollection.cs
- PathSegment.cs
- DataColumnSelectionConverter.cs
- FixedPageStructure.cs
- Compiler.cs
- RoleGroupCollection.cs
- LayoutEvent.cs
- ChangePassword.cs
- ReadWriteObjectLock.cs
- LayoutEngine.cs
- ScriptManager.cs
- LinkAreaEditor.cs
- Condition.cs
- ScriptResourceAttribute.cs
- PackagePartCollection.cs
- MenuItemCollection.cs
- MenuItemBinding.cs
- SigningCredentials.cs
- RedistVersionInfo.cs
- Qualifier.cs
- StreamWithDictionary.cs
- VirtualizedItemProviderWrapper.cs
- GrammarBuilder.cs
- StringAnimationBase.cs
- ErasingStroke.cs
- FieldNameLookup.cs
- EmptyImpersonationContext.cs
- ClosableStream.cs
- SystemThemeKey.cs
- EmptyEnumerator.cs
- DefaultPropertiesToSend.cs
- _SslStream.cs
- AttachedAnnotationChangedEventArgs.cs
- HandlerWithFactory.cs
- LayoutSettings.cs
- MimeWriter.cs
- DataBindingExpressionBuilder.cs
- LogRestartAreaEnumerator.cs
- GacUtil.cs
- TypeUsageBuilder.cs
- Wildcard.cs
- FocusTracker.cs
- DataGridViewCellFormattingEventArgs.cs
- ExpressionValueEditor.cs
- QualifiedCellIdBoolean.cs