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
- FileDialogPermission.cs
- GridViewRowCollection.cs
- RepeatButton.cs
- QuotedPrintableStream.cs
- ToolStripItemImageRenderEventArgs.cs
- HandleCollector.cs
- PenThreadWorker.cs
- ResourceDisplayNameAttribute.cs
- DataGridViewUtilities.cs
- MenuItem.cs
- MetaData.cs
- PropertyRef.cs
- Selector.cs
- ExpressionBinding.cs
- BooleanToVisibilityConverter.cs
- TypeAccessException.cs
- ClientOptions.cs
- TableLayoutCellPaintEventArgs.cs
- Random.cs
- SmiEventStream.cs
- MimeMapping.cs
- ExceptionRoutedEventArgs.cs
- AuthenticationService.cs
- PathSegmentCollection.cs
- SimpleRecyclingCache.cs
- FunctionDetailsReader.cs
- FrameworkTextComposition.cs
- StringConverter.cs
- Membership.cs
- AsyncCallback.cs
- ViewGenResults.cs
- FontCollection.cs
- XmlnsDefinitionAttribute.cs
- SqlCacheDependencyDatabaseCollection.cs
- TextEmbeddedObject.cs
- DrawingGroup.cs
- QueryCacheKey.cs
- Timer.cs
- TextFindEngine.cs
- ExpressionLexer.cs
- WindowsGraphics2.cs
- ObjectQueryProvider.cs
- ExecutionContext.cs
- PeerSecurityManager.cs
- ClientRuntimeConfig.cs
- DragEventArgs.cs
- PropertyEmitter.cs
- GeometryModel3D.cs
- GenericRootAutomationPeer.cs
- ObjectDataSourceMethodEventArgs.cs
- BufferBuilder.cs
- ProjectionPath.cs
- BitmapEffect.cs
- SaveFileDialog.cs
- M3DUtil.cs
- TriggerCollection.cs
- TailCallAnalyzer.cs
- SelectingProviderEventArgs.cs
- listitem.cs
- FilteredAttributeCollection.cs
- SystemResources.cs
- CompressEmulationStream.cs
- LocalizationComments.cs
- MethodToken.cs
- HtmlElement.cs
- RadioButtonStandardAdapter.cs
- EventDriven.cs
- DoubleLink.cs
- DynamicRouteExpression.cs
- ProtocolsConfigurationHandler.cs
- StateRuntime.cs
- LayoutTable.cs
- Symbol.cs
- FaultHandlingFilter.cs
- AutoGeneratedField.cs
- XmlDataSourceView.cs
- ScriptingJsonSerializationSection.cs
- InvalidateEvent.cs
- MethodBody.cs
- WebPartMinimizeVerb.cs
- SQLGuid.cs
- XamlToRtfParser.cs
- DesignerToolStripControlHost.cs
- PersonalizableTypeEntry.cs
- DelayedRegex.cs
- WeakRefEnumerator.cs
- XmlLanguageConverter.cs
- ServiceContractAttribute.cs
- DataGridViewCellLinkedList.cs
- EDesignUtil.cs
- ListSourceHelper.cs
- UnsafePeerToPeerMethods.cs
- InkCanvasFeedbackAdorner.cs
- HtmlWindow.cs
- SqlTriggerAttribute.cs
- Mappings.cs
- Keywords.cs
- DefaultCommandConverter.cs
- ByeOperation11AsyncResult.cs
- Boolean.cs