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
- RowTypeElement.cs
- CodeRemoveEventStatement.cs
- MultipleViewProviderWrapper.cs
- TemplateControlParser.cs
- SessionState.cs
- SamlAssertion.cs
- PrintEvent.cs
- Debug.cs
- PrinterUnitConvert.cs
- CodeDelegateInvokeExpression.cs
- TableStyle.cs
- CacheMode.cs
- HashMembershipCondition.cs
- OutputCacheSection.cs
- DesignerValidationSummaryAdapter.cs
- BlurEffect.cs
- ValidationResults.cs
- XmlRawWriter.cs
- EditableRegion.cs
- Rotation3DKeyFrameCollection.cs
- PrivilegedConfigurationManager.cs
- RemotingServices.cs
- ProxyGenerator.cs
- ScriptRef.cs
- Exception.cs
- WrapperEqualityComparer.cs
- Control.cs
- StoryFragments.cs
- WebPartsPersonalizationAuthorization.cs
- View.cs
- PenLineCapValidation.cs
- ProcessModelSection.cs
- SettingsSavedEventArgs.cs
- GridViewColumn.cs
- DecryptRequest.cs
- PDBReader.cs
- TypeElement.cs
- CancellableEnumerable.cs
- SQLBinary.cs
- FormViewUpdatedEventArgs.cs
- ReadWriteObjectLock.cs
- EventMappingSettingsCollection.cs
- DirectoryNotFoundException.cs
- Hex.cs
- ValidatorCompatibilityHelper.cs
- ErrorRuntimeConfig.cs
- CallbackValidator.cs
- IPAddress.cs
- Normalization.cs
- Int32.cs
- ConnectionPoolManager.cs
- InplaceBitmapMetadataWriter.cs
- SamlDelegatingWriter.cs
- MimeParameter.cs
- VisualStyleInformation.cs
- SafeCryptoHandles.cs
- HttpRawResponse.cs
- TdsParserStateObject.cs
- NotifyInputEventArgs.cs
- Matrix.cs
- FrameworkElementAutomationPeer.cs
- ExpressionPrefixAttribute.cs
- XmlBoundElement.cs
- LinearKeyFrames.cs
- ControlCollection.cs
- ToolStripCollectionEditor.cs
- VsPropertyGrid.cs
- Propagator.cs
- CodeIdentifiers.cs
- RtType.cs
- TableMethodGenerator.cs
- SessionEndedEventArgs.cs
- FocusWithinProperty.cs
- IIS7WorkerRequest.cs
- RealizedColumnsBlock.cs
- ToolStripItemCollection.cs
- ControlType.cs
- graph.cs
- ClientSettings.cs
- AbsoluteQuery.cs
- SqlUtils.cs
- IsolationInterop.cs
- TextTreeTextBlock.cs
- XmlUnspecifiedAttribute.cs
- TypeReference.cs
- GridViewSelectEventArgs.cs
- BaseTemplateCodeDomTreeGenerator.cs
- OdbcConnectionFactory.cs
- OracleRowUpdatedEventArgs.cs
- SerializationInfoEnumerator.cs
- XPathNode.cs
- FamilyCollection.cs
- Quaternion.cs
- ServiceModelTimeSpanValidator.cs
- BindingNavigatorDesigner.cs
- SynchronizedMessageSource.cs
- MemberDescriptor.cs
- Inline.cs
- ConfigurationStrings.cs
- ContainerFilterService.cs