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
- DataGridColumnCollection.cs
- TypeUsage.cs
- PackageFilter.cs
- SiteMapNodeItemEventArgs.cs
- XmlSchemaAttributeGroupRef.cs
- PasswordDeriveBytes.cs
- FontStyleConverter.cs
- ResourceDictionaryCollection.cs
- Rectangle.cs
- EllipseGeometry.cs
- SyndicationContent.cs
- RulePatternOps.cs
- IListConverters.cs
- Expressions.cs
- ObjectHelper.cs
- TransactedBatchingElement.cs
- ProtocolElementCollection.cs
- XmlAttributeOverrides.cs
- DragEvent.cs
- RangeValuePattern.cs
- CAGDesigner.cs
- LinkTarget.cs
- DbConnectionPoolCounters.cs
- ListViewGroupConverter.cs
- Tile.cs
- HttpHeaderCollection.cs
- RawStylusActions.cs
- Baml2006ReaderSettings.cs
- VoiceObjectToken.cs
- ParameterModifier.cs
- VarRemapper.cs
- EndpointIdentity.cs
- Relationship.cs
- IOThreadTimer.cs
- HandlerWithFactory.cs
- DefaultValueTypeConverter.cs
- ContextBase.cs
- BooleanConverter.cs
- HtmlInputImage.cs
- SafeBitVector32.cs
- ColumnReorderedEventArgs.cs
- Error.cs
- Int16.cs
- XamlTemplateSerializer.cs
- Accessible.cs
- XamlToRtfWriter.cs
- NullableDecimalMinMaxAggregationOperator.cs
- BamlTreeUpdater.cs
- XhtmlBasicTextViewAdapter.cs
- BitmapImage.cs
- FirewallWrapper.cs
- XmlValidatingReaderImpl.cs
- PageSettings.cs
- ActivityCodeDomSerializer.cs
- HttpCacheParams.cs
- TextLine.cs
- CheckBox.cs
- ScrollChrome.cs
- FileSecurity.cs
- Boolean.cs
- OrderedDictionary.cs
- DispatcherEventArgs.cs
- PerformanceCounterLib.cs
- ProgressBarAutomationPeer.cs
- SharedUtils.cs
- XmlDocumentFragment.cs
- InfoCardBinaryReader.cs
- ProfessionalColors.cs
- HttpCookieCollection.cs
- ColumnResizeUndoUnit.cs
- dbenumerator.cs
- counter.cs
- ProfilePropertyNameValidator.cs
- recordstatefactory.cs
- Codec.cs
- StsCommunicationException.cs
- HandleExceptionArgs.cs
- XdrBuilder.cs
- EditorPart.cs
- PagesSection.cs
- BreakRecordTable.cs
- CommandEventArgs.cs
- SQLInt64.cs
- UriScheme.cs
- FtpRequestCacheValidator.cs
- GeometryDrawing.cs
- ConfigXmlAttribute.cs
- XmlUtil.cs
- ColumnTypeConverter.cs
- EventDescriptor.cs
- ModelUtilities.cs
- WindowsRichEdit.cs
- HtmlTableCell.cs
- UnmanagedMarshal.cs
- HtmlInputButton.cs
- CodeDomSerializerException.cs
- TimersDescriptionAttribute.cs
- UnsafeNativeMethods.cs
- PartialCachingAttribute.cs
- ErrorsHelper.cs