Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / System.ServiceModel.Activation / System / ServiceModel / Activation / HostedBindingBehavior.cs / 1305376 / HostedBindingBehavior.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Description; using System.Collections.ObjectModel; using System.ServiceModel.Channels; class HostedBindingBehavior : IServiceBehavior { VirtualPathExtension virtualPathExtension; internal HostedBindingBehavior(VirtualPathExtension virtualPathExtension) { this.virtualPathExtension = virtualPathExtension; } public VirtualPathExtension VirtualPathExtension { get { return this.virtualPathExtension; } } void IServiceBehavior.Validate(ServiceDescription description, ServiceHostBase serviceHostBase) { } void IServiceBehavior.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collectionendpoints, BindingParameterCollection parameters) { if (parameters == null) { throw FxTrace.Exception.ArgumentNull("parameters"); } parameters.Add(this.virtualPathExtension); } void IServiceBehavior.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Description; using System.Collections.ObjectModel; using System.ServiceModel.Channels; class HostedBindingBehavior : IServiceBehavior { VirtualPathExtension virtualPathExtension; internal HostedBindingBehavior(VirtualPathExtension virtualPathExtension) { this.virtualPathExtension = virtualPathExtension; } public VirtualPathExtension VirtualPathExtension { get { return this.virtualPathExtension; } } void IServiceBehavior.Validate(ServiceDescription description, ServiceHostBase serviceHostBase) { } void IServiceBehavior.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection endpoints, BindingParameterCollection parameters) { if (parameters == null) { throw FxTrace.Exception.ArgumentNull("parameters"); } parameters.Add(this.virtualPathExtension); } void IServiceBehavior.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase) { } } } // 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
- DbMetaDataCollectionNames.cs
- ObjectToIdCache.cs
- HostingEnvironmentWrapper.cs
- DataSourceSelectArguments.cs
- UnknownBitmapDecoder.cs
- DictionaryMarkupSerializer.cs
- IdentityHolder.cs
- ScrollEventArgs.cs
- XamlTreeBuilder.cs
- StylusButtonEventArgs.cs
- PackageProperties.cs
- WebServiceHost.cs
- BindingMAnagerBase.cs
- RtfNavigator.cs
- DocumentPageView.cs
- ProtocolElement.cs
- MarkupCompilePass1.cs
- DynamicPropertyHolder.cs
- LockCookie.cs
- SR.Designer.cs
- NotifyInputEventArgs.cs
- DataTemplateSelector.cs
- DataTableMapping.cs
- SqlDependencyListener.cs
- MimeWriter.cs
- ITreeGenerator.cs
- SharingService.cs
- StylusButton.cs
- StateManagedCollection.cs
- AttachedPropertyDescriptor.cs
- AliasExpr.cs
- NativeMethods.cs
- CodePageUtils.cs
- WsatConfiguration.cs
- ServerProtocol.cs
- PrintSystemException.cs
- PropertyPath.cs
- SchemaTableOptionalColumn.cs
- ListCommandEventArgs.cs
- GeometryModel3D.cs
- WindowsGraphicsWrapper.cs
- TextElementEditingBehaviorAttribute.cs
- Site.cs
- LinkLabel.cs
- ActiveDesignSurfaceEvent.cs
- HttpException.cs
- EdmScalarPropertyAttribute.cs
- ShapeTypeface.cs
- TextDecorationCollection.cs
- AxHost.cs
- DocumentGrid.cs
- ServiceMetadataContractBehavior.cs
- GradientStop.cs
- DocumentReference.cs
- XslCompiledTransform.cs
- FileChangesMonitor.cs
- ScriptingWebServicesSectionGroup.cs
- PaperSize.cs
- RSACryptoServiceProvider.cs
- ApplicationGesture.cs
- ServicesSection.cs
- TdsRecordBufferSetter.cs
- SetterBase.cs
- AssemblyCache.cs
- HtmlInputImage.cs
- InputLanguageProfileNotifySink.cs
- DataGridLinkButton.cs
- ConfigXmlCDataSection.cs
- MessageVersionConverter.cs
- DoubleLink.cs
- SpecialFolderEnumConverter.cs
- Signature.cs
- SchemaNotation.cs
- SignatureDescription.cs
- ThreadSafeList.cs
- MLangCodePageEncoding.cs
- PeerInvitationResponse.cs
- XsltFunctions.cs
- XmlRootAttribute.cs
- XmlChildEnumerator.cs
- adornercollection.cs
- SelectionPattern.cs
- TextRunCacheImp.cs
- MessageHeaderT.cs
- ItemsControlAutomationPeer.cs
- XappLauncher.cs
- Accessible.cs
- PositiveTimeSpanValidatorAttribute.cs
- ParameterEditorUserControl.cs
- SecureStringHasher.cs
- XmlReflectionImporter.cs
- DocumentSequence.cs
- Multiply.cs
- EditorPartChrome.cs
- IsolationInterop.cs
- QueryGeneratorBase.cs
- StringSource.cs
- ToolStripItemRenderEventArgs.cs
- NativeMethods.cs
- MetadataUtil.cs