Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / PeerResolvers / PeerCustomResolverSettings.cs / 1 / PeerCustomResolverSettings.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.PeerResolvers { using System; using System.ServiceModel; using System.ServiceModel.Description; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Configuration; using System.Globalization; using System.Net.Security; using System.ServiceModel.Configuration; using System.ServiceModel.Channels; public class PeerCustomResolverSettings { EndpointAddress address; Binding binding; string bindingSection,bindingConfiguration; PeerResolver resolver; public PeerCustomResolverSettings(){} public EndpointAddress Address { get { return address; } set { address = value; } } public Binding Binding { get { if(binding == null) { if (!String.IsNullOrEmpty(this.bindingSection) && !String.IsNullOrEmpty(this.bindingConfiguration)) binding = ConfigLoader.LookupBinding(this.bindingSection, this.bindingConfiguration); } return binding; } set { binding = value; } } public bool IsBindingSpecified { get { return ((this.binding != null) || (!String.IsNullOrEmpty(this.bindingSection) && !String.IsNullOrEmpty(this.bindingConfiguration))); } } public PeerResolver Resolver { get { return resolver; } set { resolver = value; } } internal string BindingSection { get { return bindingSection; } set { bindingSection = value; } } internal string BindingConfiguration { get { return bindingConfiguration; } set { bindingConfiguration = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataPager.cs
- WrappedKeySecurityTokenParameters.cs
- Fault.cs
- ReadOnlyObservableCollection.cs
- NonClientArea.cs
- QilGeneratorEnv.cs
- MenuAdapter.cs
- WebSysDescriptionAttribute.cs
- TypedTableBaseExtensions.cs
- GenericEnumerator.cs
- TrustManagerMoreInformation.cs
- Brush.cs
- OdbcStatementHandle.cs
- LingerOption.cs
- DependsOnAttribute.cs
- DataExpression.cs
- CancellationHandlerDesigner.cs
- IncrementalHitTester.cs
- Timer.cs
- objectquery_tresulttype.cs
- MessagePartProtectionMode.cs
- Decoder.cs
- MetadataArtifactLoaderResource.cs
- ServiceDesigner.cs
- TableCellCollection.cs
- CodeConstructor.cs
- Vector3D.cs
- HttpHandlersSection.cs
- DEREncoding.cs
- AutomationPropertyInfo.cs
- TraceRecords.cs
- TextBoxRenderer.cs
- PathSegmentCollection.cs
- SqlDependencyUtils.cs
- OdbcError.cs
- DetailsView.cs
- DataGridViewColumn.cs
- PlatformNotSupportedException.cs
- JsonDeserializer.cs
- SoapHttpTransportImporter.cs
- XmlSchemaSimpleTypeUnion.cs
- GregorianCalendarHelper.cs
- Span.cs
- AnnotationResourceCollection.cs
- Permission.cs
- CodeConstructor.cs
- DataComponentNameHandler.cs
- DBBindings.cs
- BinaryOperationBinder.cs
- ChildrenQuery.cs
- HyperLinkField.cs
- Catch.cs
- SafeNativeMethodsCLR.cs
- WindowsTreeView.cs
- SoapIgnoreAttribute.cs
- SkipStoryboardToFill.cs
- CriticalExceptions.cs
- Transform.cs
- FunctionCommandText.cs
- ClientSideQueueItem.cs
- CheckBoxPopupAdapter.cs
- DataGridTextBox.cs
- TableHeaderCell.cs
- RegexCapture.cs
- NotifyCollectionChangedEventArgs.cs
- FormViewDeleteEventArgs.cs
- _PooledStream.cs
- OpacityConverter.cs
- XmlSchemaSimpleTypeList.cs
- Win32Native.cs
- SmtpNetworkElement.cs
- PersonalizationState.cs
- _emptywebproxy.cs
- WebPermission.cs
- ValidatedControlConverter.cs
- WindowsGraphics2.cs
- CompensatableTransactionScopeActivityDesigner.cs
- HandlerFactoryWrapper.cs
- SizeAnimationClockResource.cs
- CustomPopupPlacement.cs
- HtmlPageAdapter.cs
- ProvidePropertyAttribute.cs
- ScaleTransform3D.cs
- InvalidOperationException.cs
- ZipPackagePart.cs
- StorageComplexPropertyMapping.cs
- TimeSpanStorage.cs
- MulticastIPAddressInformationCollection.cs
- InvokeMethodActivityDesigner.cs
- BidOverLoads.cs
- ProfileInfo.cs
- TypeUtil.cs
- ResourceWriter.cs
- ListViewItemCollectionEditor.cs
- LayoutTable.cs
- CalendarTable.cs
- DataSourceViewSchemaConverter.cs
- IPipelineRuntime.cs
- RangeValidator.cs
- EventSourceCreationData.cs