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
- Fx.cs
- ResourceDescriptionAttribute.cs
- BuildResult.cs
- LinqDataSourceValidationException.cs
- SQLUtility.cs
- LogWriteRestartAreaAsyncResult.cs
- HttpHandlerActionCollection.cs
- MetadataProperty.cs
- HttpCachePolicy.cs
- XmlNamedNodeMap.cs
- HttpHandlerActionCollection.cs
- CustomErrorsSectionWrapper.cs
- CodeCommentStatementCollection.cs
- wgx_sdk_version.cs
- ReceiveMessageContent.cs
- VariableQuery.cs
- TableLayoutPanelCodeDomSerializer.cs
- ToolZoneDesigner.cs
- DbDataRecord.cs
- PKCS1MaskGenerationMethod.cs
- CorrelationQueryBehavior.cs
- ToolStripGrip.cs
- DateTimeConstantAttribute.cs
- DiagnosticTraceSource.cs
- RadioButtonRenderer.cs
- Command.cs
- XmlAttribute.cs
- ValidatingPropertiesEventArgs.cs
- SafeEventHandle.cs
- IisTraceWebEventProvider.cs
- Point3DAnimationBase.cs
- Function.cs
- StateFinalizationDesigner.cs
- _NTAuthentication.cs
- LoadedOrUnloadedOperation.cs
- WebPartConnectionsConnectVerb.cs
- DataContractSerializerElement.cs
- ObjectIDGenerator.cs
- WebReference.cs
- Crc32Helper.cs
- ConfigXmlText.cs
- FocusManager.cs
- CultureInfoConverter.cs
- SetIterators.cs
- IERequestCache.cs
- LinqDataSourceDeleteEventArgs.cs
- URI.cs
- CustomError.cs
- DispatcherProcessingDisabled.cs
- IISUnsafeMethods.cs
- MethodImplAttribute.cs
- WindowsGrip.cs
- StrongNameKeyPair.cs
- LongValidatorAttribute.cs
- GeneralTransform2DTo3D.cs
- TerminatorSinks.cs
- SystemKeyConverter.cs
- PropertyToken.cs
- LinearGradientBrush.cs
- UserMapPath.cs
- WebHttpBindingElement.cs
- StringKeyFrameCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- DataViewSettingCollection.cs
- GridViewUpdatedEventArgs.cs
- XpsFont.cs
- NavigationPropertyAccessor.cs
- Int32KeyFrameCollection.cs
- JapaneseLunisolarCalendar.cs
- Attribute.cs
- ContractReference.cs
- BinHexEncoder.cs
- ConcurrentBag.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TextView.cs
- HostingEnvironmentSection.cs
- QilUnary.cs
- UnitControl.cs
- AsyncStreamReader.cs
- ByteConverter.cs
- CodeDOMUtility.cs
- Viewport2DVisual3D.cs
- StateRuntime.cs
- SqlError.cs
- ExtendedPropertyInfo.cs
- DataGridViewTopLeftHeaderCell.cs
- BamlRecordHelper.cs
- DataGridViewImageColumn.cs
- NamespaceList.cs
- FormattedText.cs
- WindowsGraphicsCacheManager.cs
- DynamicObject.cs
- CodeNamespace.cs
- CssClassPropertyAttribute.cs
- DisplayNameAttribute.cs
- Visual3D.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- _CommandStream.cs
- HiddenField.cs
- RuntimeConfigLKG.cs