Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / OperationSelectorBehavior.cs / 1 / OperationSelectorBehavior.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.Collections.Generic; using System.Collections; using System.Reflection; class OperationSelectorBehavior : IContractBehavior { void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) { } void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) { } void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch) { if (dispatch.ClientRuntime != null) dispatch.ClientRuntime.OperationSelector = new MethodInfoOperationSelector(description, MessageDirection.Output); } void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy) { proxy.OperationSelector = new MethodInfoOperationSelector(description, MessageDirection.Input); } internal class MethodInfoOperationSelector : IClientOperationSelector { Dictionary
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationEntry.cs
- DataViewSetting.cs
- SafeHandle.cs
- XmlMapping.cs
- _ConnectStream.cs
- SafeProcessHandle.cs
- AppliedDeviceFiltersDialog.cs
- GPRECT.cs
- SqlRowUpdatedEvent.cs
- CharacterString.cs
- IDispatchConstantAttribute.cs
- PeerName.cs
- BoundColumn.cs
- PartialList.cs
- HiddenFieldPageStatePersister.cs
- BoolLiteral.cs
- XPathSelectionIterator.cs
- TimeIntervalCollection.cs
- _LazyAsyncResult.cs
- FontConverter.cs
- LinearGradientBrush.cs
- ParsedAttributeCollection.cs
- KeySplineConverter.cs
- DataRelationPropertyDescriptor.cs
- RevocationPoint.cs
- BrowserCapabilitiesCodeGenerator.cs
- SymmetricKey.cs
- CodeAccessSecurityEngine.cs
- OperationPerformanceCounters.cs
- WsatConfiguration.cs
- LayoutUtils.cs
- XmlSchemaFacet.cs
- LiteralDesigner.cs
- Vector3DConverter.cs
- EventlogProvider.cs
- TextAction.cs
- DocumentViewerAutomationPeer.cs
- HandleScope.cs
- Conditional.cs
- BindUriHelper.cs
- ContextMenuStripActionList.cs
- PropertyInfoSet.cs
- HtmlToClrEventProxy.cs
- MobileErrorInfo.cs
- ParentUndoUnit.cs
- ReliableDuplexSessionChannel.cs
- NavigationCommands.cs
- Drawing.cs
- WindowShowOrOpenTracker.cs
- ListItemParagraph.cs
- MailAddress.cs
- UIPermission.cs
- EarlyBoundInfo.cs
- CatalogPartChrome.cs
- CallInfo.cs
- SimpleParser.cs
- ConnectionManagementSection.cs
- ToolStripItemEventArgs.cs
- WindowShowOrOpenTracker.cs
- SqlCacheDependencySection.cs
- DependencyPropertyAttribute.cs
- SessionStateUtil.cs
- TypeSystemHelpers.cs
- StopStoryboard.cs
- TableRowCollection.cs
- BitmapEffectDrawingContextWalker.cs
- SqlNodeTypeOperators.cs
- BehaviorDragDropEventArgs.cs
- LockedActivityGlyph.cs
- AdapterUtil.cs
- PrintControllerWithStatusDialog.cs
- PhoneCallDesigner.cs
- DataGridViewCellPaintingEventArgs.cs
- KeyFrames.cs
- ChangePassword.cs
- TraceInternal.cs
- QueryCursorEventArgs.cs
- AnnotationResource.cs
- WinCategoryAttribute.cs
- MemberDomainMap.cs
- PropertyIDSet.cs
- FileInfo.cs
- ListControlDesigner.cs
- Point4DValueSerializer.cs
- SourceLineInfo.cs
- EmbeddedObject.cs
- ReadOnlyHierarchicalDataSource.cs
- AnimatedTypeHelpers.cs
- OracleString.cs
- ConnectionStringsExpressionBuilder.cs
- sapiproxy.cs
- RedirectionProxy.cs
- SqlPersonalizationProvider.cs
- ControlHelper.cs
- DllNotFoundException.cs
- NullableBoolConverter.cs
- RotateTransform3D.cs
- VoiceObjectToken.cs
- AppDomainAttributes.cs
- Int16Converter.cs