Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / EndpointDiscoveryBehavior.cs / 1305376 / EndpointDiscoveryBehavior.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; using System.Xml.Linq; using System.Xml; [Fx.Tag.XamlVisible(false)] public class EndpointDiscoveryBehavior : IEndpointBehavior { ScopeCollection scopes; ContractTypeNameCollection contractTypeNames; NonNullItemCollectionextensions; bool enabled; public EndpointDiscoveryBehavior() { this.enabled = true; } public bool Enabled { get { return this.enabled; } set { this.enabled = value; } } public Collection ContractTypeNames { get { if (this.contractTypeNames == null) { this.contractTypeNames = new ContractTypeNameCollection(); } return this.contractTypeNames; } } public Collection Scopes { get { if (this.scopes == null) { this.scopes = new ScopeCollection(); } return this.scopes; } } public Collection Extensions { get { if (this.extensions == null) { this.extensions = new NonNullItemCollection (); } return this.extensions; } } internal Collection InternalContractTypeNames { get { return this.contractTypeNames; } } internal Collection InternalScopes { get { return this.scopes; } } internal Collection InternalExtensions { get { return this.extensions; } } [SuppressMessage(FxCop.Category.Design, FxCop.Rule.InterfaceMethodsShouldBeCallableByChildTypes)] void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { } [SuppressMessage(FxCop.Category.Design, FxCop.Rule.InterfaceMethodsShouldBeCallableByChildTypes)] void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { } [SuppressMessage(FxCop.Category.Design, FxCop.Rule.InterfaceMethodsShouldBeCallableByChildTypes)] void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { } [SuppressMessage(FxCop.Category.Design, FxCop.Rule.InterfaceMethodsShouldBeCallableByChildTypes)] void IEndpointBehavior.Validate(ServiceEndpoint endpoint) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SizeChangedEventArgs.cs
- AlignmentYValidation.cs
- _ShellExpression.cs
- SQLInt32.cs
- Int16Animation.cs
- CodeConditionStatement.cs
- RegexReplacement.cs
- XappLauncher.cs
- Rotation3D.cs
- AttachmentService.cs
- JsonObjectDataContract.cs
- ReferenceAssemblyAttribute.cs
- ProgressBar.cs
- FixedTextSelectionProcessor.cs
- NetworkAddressChange.cs
- DecoderBestFitFallback.cs
- HelpKeywordAttribute.cs
- ContractsBCL.cs
- XmlBinaryReader.cs
- TextEditorDragDrop.cs
- ComponentChangingEvent.cs
- XPathNodeHelper.cs
- RuntimeConfig.cs
- ScrollViewer.cs
- HtmlShimManager.cs
- DecoderExceptionFallback.cs
- SimpleWebHandlerParser.cs
- TheQuery.cs
- DispatcherExceptionEventArgs.cs
- AsmxEndpointPickerExtension.cs
- RichTextBoxContextMenu.cs
- ListBase.cs
- TraceLevelStore.cs
- HtmlInputImage.cs
- EditorZoneBase.cs
- COAUTHIDENTITY.cs
- XmlSequenceWriter.cs
- NodeFunctions.cs
- DoubleMinMaxAggregationOperator.cs
- ToolBar.cs
- AppLevelCompilationSectionCache.cs
- CssTextWriter.cs
- BookmarkScopeInfo.cs
- PersonalizationProvider.cs
- Base64Decoder.cs
- AccessText.cs
- TextTreeInsertElementUndoUnit.cs
- IISUnsafeMethods.cs
- ColorContext.cs
- ErrorActivity.cs
- AmbientValueAttribute.cs
- ThemeDirectoryCompiler.cs
- _BufferOffsetSize.cs
- TemplateBindingExtensionConverter.cs
- AppLevelCompilationSectionCache.cs
- TreeNodeStyleCollection.cs
- MultipartContentParser.cs
- DiagnosticStrings.cs
- TextBlockAutomationPeer.cs
- xml.cs
- DbConnectionStringBuilder.cs
- UpWmlPageAdapter.cs
- SmiMetaDataProperty.cs
- MetafileHeaderWmf.cs
- StyleTypedPropertyAttribute.cs
- CookieProtection.cs
- TextRangeProviderWrapper.cs
- IPipelineRuntime.cs
- NativeMethods.cs
- ObjectStateManager.cs
- SrgsRulesCollection.cs
- XmlStreamStore.cs
- TabControlCancelEvent.cs
- _MultipleConnectAsync.cs
- FixedSOMPageConstructor.cs
- Parser.cs
- ArrangedElementCollection.cs
- BitmapPalette.cs
- WindowsRegion.cs
- PixelFormatConverter.cs
- ClientFormsIdentity.cs
- CodeCompileUnit.cs
- RegexCaptureCollection.cs
- InputLanguageCollection.cs
- GPPOINTF.cs
- TextBoxRenderer.cs
- MatrixAnimationBase.cs
- GPRECTF.cs
- RenderData.cs
- UrlPath.cs
- SqlClientFactory.cs
- CqlGenerator.cs
- XmlWellformedWriterHelpers.cs
- HttpWebResponse.cs
- PathFigureCollection.cs
- FontNameEditor.cs
- FrameworkElementFactoryMarkupObject.cs
- XmlSchemaImporter.cs
- InputMethodStateChangeEventArgs.cs
- DataTableCollection.cs