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
- MDIClient.cs
- SimpleType.cs
- CompositeScriptReferenceEventArgs.cs
- StructuredCompositeActivityDesigner.cs
- SignedInfo.cs
- HtmlControlAdapter.cs
- FormatVersion.cs
- XmlSerializerFactory.cs
- HttpCacheVaryByContentEncodings.cs
- BasicDesignerLoader.cs
- PersianCalendar.cs
- UrlMapping.cs
- BamlMapTable.cs
- StylusDevice.cs
- PlainXmlDeserializer.cs
- XmlSchemaGroup.cs
- TriggerAction.cs
- NavigateEvent.cs
- Options.cs
- OneWayBindingElementImporter.cs
- XPathQilFactory.cs
- ObjectContextServiceProvider.cs
- SafeRightsManagementPubHandle.cs
- ListSortDescriptionCollection.cs
- WebWorkflowRole.cs
- Interop.cs
- SortedDictionary.cs
- CollectionBuilder.cs
- AspCompat.cs
- UInt32Storage.cs
- TypeConverters.cs
- TypeUsage.cs
- FixedTextContainer.cs
- TreeViewItem.cs
- MaskedTextBoxDesigner.cs
- SourceLocationProvider.cs
- LoginUtil.cs
- BackStopAuthenticationModule.cs
- ObjectViewFactory.cs
- HttpApplicationFactory.cs
- CommonObjectSecurity.cs
- HuffModule.cs
- MessageQueuePermissionEntryCollection.cs
- BitmapEffectInputConnector.cs
- Translator.cs
- QuinticEase.cs
- AttachedAnnotation.cs
- RichTextBox.cs
- ClassicBorderDecorator.cs
- ReferentialConstraint.cs
- HttpListenerRequest.cs
- SqlConnectionManager.cs
- BindingList.cs
- DateTimeConverter.cs
- AttachedAnnotation.cs
- OdbcConnectionHandle.cs
- Lease.cs
- Pkcs7Signer.cs
- WindowsSecurityTokenAuthenticator.cs
- RequestContext.cs
- ScriptingSectionGroup.cs
- UniqueConstraint.cs
- WriteStateInfoBase.cs
- FormsAuthenticationEventArgs.cs
- RayMeshGeometry3DHitTestResult.cs
- DesignerActionVerbList.cs
- DataControlCommands.cs
- RegionData.cs
- DynamicActionMessageFilter.cs
- MemberExpression.cs
- HtmlInputPassword.cs
- Attributes.cs
- AstNode.cs
- ContextMenuAutomationPeer.cs
- KeyValueInternalCollection.cs
- DocumentPageTextView.cs
- DispatcherOperation.cs
- XmlLinkedNode.cs
- ObsoleteAttribute.cs
- EncodingTable.cs
- OrderedDictionary.cs
- AtomEntry.cs
- MemberHolder.cs
- WebColorConverter.cs
- Link.cs
- PingOptions.cs
- RewritingProcessor.cs
- WindowsGraphics.cs
- LinqExpressionNormalizer.cs
- BaseDataBoundControl.cs
- _ProxyChain.cs
- AccessViolationException.cs
- ProtocolsConfigurationHandler.cs
- GridViewRowCollection.cs
- LogWriteRestartAreaState.cs
- ClientApiGenerator.cs
- BitmapCodecInfoInternal.cs
- CodeArgumentReferenceExpression.cs
- NativeMethods.cs
- MediaContextNotificationWindow.cs