Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / BaseAddressElement.cs / 1 / BaseAddressElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; public sealed partial class BaseAddressElement : ConfigurationElement { public BaseAddressElement() : base() { } // BaseAddress is exposed as a string instead of an Uri so that WCF can do // special parsing of wildcards (e.g. '*'). [ConfigurationProperty(ConfigurationStrings.BaseAddress, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string BaseAddress { get { return (string)base[ConfigurationStrings.BaseAddress]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.BaseAddress] = 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
- HttpCookieCollection.cs
- BevelBitmapEffect.cs
- TextLineBreak.cs
- XhtmlTextWriter.cs
- xmlformatgeneratorstatics.cs
- DataBoundControlHelper.cs
- SafeCryptoKeyHandle.cs
- ShimAsPublicXamlType.cs
- InheritanceRules.cs
- PenLineCapValidation.cs
- ToolStripCodeDomSerializer.cs
- ExtentCqlBlock.cs
- PageHandlerFactory.cs
- SqlConnectionHelper.cs
- BehaviorEditorPart.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ServiceModelConfigurationSection.cs
- TrackingLocation.cs
- DtdParser.cs
- ServiceRouteHandler.cs
- NativeObjectSecurity.cs
- Trace.cs
- __FastResourceComparer.cs
- FontNamesConverter.cs
- WindowsTreeView.cs
- SqlDependency.cs
- DataGridHelper.cs
- PeerName.cs
- GridEntry.cs
- HttpCapabilitiesSectionHandler.cs
- UInt64Storage.cs
- ICollection.cs
- ThicknessAnimationBase.cs
- RealizationContext.cs
- WindowsFormsSynchronizationContext.cs
- ClientSettings.cs
- DataObjectPastingEventArgs.cs
- InternalSafeNativeMethods.cs
- OleDbMetaDataFactory.cs
- ProtectedConfigurationSection.cs
- ContentHostHelper.cs
- ScriptModule.cs
- ListViewDataItem.cs
- RegisteredScript.cs
- PersistChildrenAttribute.cs
- GeometryValueSerializer.cs
- HttpServerUtilityBase.cs
- TableAutomationPeer.cs
- TextOnlyOutput.cs
- WeakHashtable.cs
- CodeNamespace.cs
- ListChangedEventArgs.cs
- CodeBinaryOperatorExpression.cs
- DaylightTime.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TabControl.cs
- SafeHandles.cs
- TypeSource.cs
- ClipboardProcessor.cs
- SequentialWorkflowRootDesigner.cs
- SqlDataSourceCache.cs
- ElementsClipboardData.cs
- NameTable.cs
- indexingfiltermarshaler.cs
- SchemaManager.cs
- SponsorHelper.cs
- QueryGeneratorBase.cs
- FrameworkContextData.cs
- DataServiceQuery.cs
- FrameworkContentElementAutomationPeer.cs
- CanonicalXml.cs
- XmlQuerySequence.cs
- SharedPerformanceCounter.cs
- WinFormsComponentEditor.cs
- TrustLevelCollection.cs
- SynchronizationValidator.cs
- WebPartConnectionsCloseVerb.cs
- TransformationRules.cs
- ListViewUpdatedEventArgs.cs
- OutputCacheSection.cs
- EdmError.cs
- PersonalizationProviderCollection.cs
- ByteStreamGeometryContext.cs
- AuthenticationServiceManager.cs
- UidManager.cs
- EdmComplexTypeAttribute.cs
- Keywords.cs
- TagNameToTypeMapper.cs
- Rotation3DAnimationBase.cs
- XmlSchemaComplexType.cs
- AggregateNode.cs
- DataColumnMappingCollection.cs
- InputLanguageManager.cs
- NamespaceListProperty.cs
- XmlSchemaSimpleTypeRestriction.cs
- IDReferencePropertyAttribute.cs
- PathParser.cs
- SqlReferenceCollection.cs
- ReadOnlyActivityGlyph.cs
- DataAdapter.cs