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
- ControlCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- ExtensionFile.cs
- oledbmetadatacollectionnames.cs
- Highlights.cs
- WebPartConnectionsDisconnectVerb.cs
- CodeDomDesignerLoader.cs
- AssertFilter.cs
- Bidi.cs
- _SslStream.cs
- InputProcessorProfilesLoader.cs
- BuildResultCache.cs
- ConfigurationPropertyAttribute.cs
- Helpers.cs
- LassoHelper.cs
- ExceptionCollection.cs
- InvalidPropValue.cs
- Stack.cs
- ValidationEventArgs.cs
- EntityTypeBase.cs
- MessagePartProtectionMode.cs
- DataSourceCacheDurationConverter.cs
- WindowsGraphics2.cs
- AppDomain.cs
- ToolStripDropDownClosingEventArgs.cs
- ClassicBorderDecorator.cs
- DetailsViewModeEventArgs.cs
- WSHttpBinding.cs
- SynchronizationContext.cs
- TreeNodeClickEventArgs.cs
- XmlReflectionImporter.cs
- RecordManager.cs
- ObjectStorage.cs
- Tool.cs
- RemotingSurrogateSelector.cs
- IdentityHolder.cs
- ExpandSegment.cs
- PropertyChangeTracker.cs
- TextServicesCompartmentContext.cs
- ContainerUtilities.cs
- IriParsingElement.cs
- CodeAttributeDeclaration.cs
- Set.cs
- FixedTextContainer.cs
- MemberAssignment.cs
- ControlBuilder.cs
- HierarchicalDataTemplate.cs
- remotingproxy.cs
- FilterException.cs
- AdPostCacheSubstitution.cs
- GridViewRowCollection.cs
- SrgsElementList.cs
- StringResourceManager.cs
- GroupBoxDesigner.cs
- SHA1Cng.cs
- CachedTypeface.cs
- Geometry.cs
- SqlRecordBuffer.cs
- NumericUpDownAccelerationCollection.cs
- TextViewElement.cs
- InheritanceUI.cs
- PageCatalogPart.cs
- MarginCollapsingState.cs
- BamlRecords.cs
- SByte.cs
- InputDevice.cs
- DataRowCollection.cs
- FamilyTypefaceCollection.cs
- ObjectListCommandsPage.cs
- MimeBasePart.cs
- TraceFilter.cs
- WebServiceBindingAttribute.cs
- _DomainName.cs
- WorkflowInvoker.cs
- GridViewColumn.cs
- OneOf.cs
- Container.cs
- OracleParameter.cs
- BlockingCollection.cs
- PersistNameAttribute.cs
- SqlResolver.cs
- OdbcError.cs
- CatalogPart.cs
- ExpandableObjectConverter.cs
- DesignerEventService.cs
- LongTypeConverter.cs
- GlyphShapingProperties.cs
- WeakRefEnumerator.cs
- smtpconnection.cs
- RegexCharClass.cs
- AdCreatedEventArgs.cs
- XmlHelper.cs
- Effect.cs
- Condition.cs
- XmlRootAttribute.cs
- GridViewRowPresenter.cs
- XpsFilter.cs
- ButtonColumn.cs
- GeometryCombineModeValidation.cs
- InvalidWMPVersionException.cs