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
- ResourceDictionary.cs
- EventProperty.cs
- NullableLongMinMaxAggregationOperator.cs
- DebugInfoGenerator.cs
- Matrix3D.cs
- ScriptControlDescriptor.cs
- SqlCacheDependencyDatabase.cs
- XmlBoundElement.cs
- AmbiguousMatchException.cs
- MissingMethodException.cs
- EqualityArray.cs
- SafeNativeMethods.cs
- LayoutManager.cs
- DecimalAnimationBase.cs
- InvalidOleVariantTypeException.cs
- CodeTypeConstructor.cs
- InfoCardTrace.cs
- BindingSource.cs
- SplitterEvent.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- WindowsSysHeader.cs
- input.cs
- XmlHierarchicalEnumerable.cs
- AudienceUriMode.cs
- RangeEnumerable.cs
- ButtonChrome.cs
- DocumentViewerHelper.cs
- WebPageTraceListener.cs
- MetadataUtil.cs
- __ConsoleStream.cs
- DelegateSerializationHolder.cs
- AuthenticationModuleElement.cs
- InputScope.cs
- Set.cs
- DataServiceRequestException.cs
- MediaEntryAttribute.cs
- TableHeaderCell.cs
- OdbcPermission.cs
- ListViewTableCell.cs
- KeyConverter.cs
- SpellerStatusTable.cs
- Oid.cs
- HostingPreferredMapPath.cs
- InputScopeNameConverter.cs
- PeerPresenceInfo.cs
- WmfPlaceableFileHeader.cs
- XslCompiledTransform.cs
- WeakReadOnlyCollection.cs
- MulticastIPAddressInformationCollection.cs
- initElementDictionary.cs
- JsonFormatWriterGenerator.cs
- TypeExtensionConverter.cs
- ContentTextAutomationPeer.cs
- DuplexClientBase.cs
- SHA256Cng.cs
- GridViewColumnHeader.cs
- TraceListeners.cs
- SymbolDocumentInfo.cs
- WebPartCollection.cs
- GridItemCollection.cs
- IBuiltInEvidence.cs
- SoundPlayerAction.cs
- HttpModulesSection.cs
- LineBreak.cs
- ClaimComparer.cs
- PermissionRequestEvidence.cs
- NodeInfo.cs
- _AutoWebProxyScriptWrapper.cs
- RelatedPropertyManager.cs
- CompiledQueryCacheKey.cs
- InvocationExpression.cs
- DataTableClearEvent.cs
- SqlBinder.cs
- BuildProvidersCompiler.cs
- _PooledStream.cs
- Transaction.cs
- SoapWriter.cs
- DefaultTextStoreTextComposition.cs
- ColumnMapProcessor.cs
- LinkTarget.cs
- WebServiceBindingAttribute.cs
- X509PeerCertificateAuthenticationElement.cs
- Timer.cs
- DataGridRow.cs
- MemoryStream.cs
- BookmarkEventArgs.cs
- WebPartDisplayMode.cs
- SqlRowUpdatedEvent.cs
- HandlerFactoryCache.cs
- XdrBuilder.cs
- BasicExpressionVisitor.cs
- StoreAnnotationsMap.cs
- SqlConnectionFactory.cs
- SqlUserDefinedTypeAttribute.cs
- Clipboard.cs
- Point3DCollectionValueSerializer.cs
- CriticalFinalizerObject.cs
- TripleDESCryptoServiceProvider.cs
- FullTextState.cs
- ConversionContext.cs