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
- _LocalDataStoreMgr.cs
- DateTimeFormatInfoScanner.cs
- ConfigurationManagerInternalFactory.cs
- LayoutEvent.cs
- XsdDataContractImporter.cs
- VScrollProperties.cs
- AttributeUsageAttribute.cs
- SoapException.cs
- FlowDocumentPage.cs
- SiteMapProvider.cs
- XmlAtomicValue.cs
- MulticastNotSupportedException.cs
- SplitterPanel.cs
- EpmSourcePathSegment.cs
- DesignerImageAdapter.cs
- DataGridViewSelectedCellCollection.cs
- SoapObjectWriter.cs
- SchemaImporter.cs
- ColorBlend.cs
- ExpressionBindingCollection.cs
- DataListItemCollection.cs
- TextInfo.cs
- ConfigurationValidatorAttribute.cs
- ClientOptions.cs
- TypeTypeConverter.cs
- EventSchemaTraceListener.cs
- WindowsImpersonationContext.cs
- TheQuery.cs
- RegistrationProxy.cs
- MetadataCollection.cs
- ConfigurationLocationCollection.cs
- DataBinder.cs
- InputEventArgs.cs
- ReadOnlyNameValueCollection.cs
- validationstate.cs
- AddInAdapter.cs
- TrustLevel.cs
- AssemblyHash.cs
- TemplateControlBuildProvider.cs
- TextDecoration.cs
- TableLayoutSettings.cs
- BasicKeyConstraint.cs
- TextTrailingCharacterEllipsis.cs
- AttributeAction.cs
- BoundPropertyEntry.cs
- IISMapPath.cs
- AffineTransform3D.cs
- LineBreak.cs
- HMACSHA1.cs
- DomainConstraint.cs
- FlagsAttribute.cs
- FilteredXmlReader.cs
- BooleanSwitch.cs
- ProxySimple.cs
- ClickablePoint.cs
- ThreadAttributes.cs
- EditableTreeList.cs
- OfTypeExpression.cs
- DoubleCollectionValueSerializer.cs
- WebResponse.cs
- __ComObject.cs
- ProfilePropertySettings.cs
- DataViewSettingCollection.cs
- CqlParser.cs
- HttpAsyncResult.cs
- AttachedPropertyMethodSelector.cs
- ToolBarTray.cs
- SizeChangedInfo.cs
- StateRuntime.cs
- SecurityUniqueId.cs
- VisualStyleRenderer.cs
- SchemaMerger.cs
- IdentityReference.cs
- HtmlInputReset.cs
- IPPacketInformation.cs
- DefaultPropertiesToSend.cs
- LineVisual.cs
- HoistedLocals.cs
- WebCategoryAttribute.cs
- DayRenderEvent.cs
- KeyGestureConverter.cs
- SqlDataSourceView.cs
- ReadOnlyDictionary.cs
- StagingAreaInputItem.cs
- BaseHashHelper.cs
- DateTimeConverter2.cs
- ExpressionLink.cs
- EditorOptionAttribute.cs
- BitmapVisualManager.cs
- EntityCodeGenerator.cs
- SQLBinary.cs
- SourceInterpreter.cs
- Config.cs
- AdapterSwitches.cs
- PropertyMapper.cs
- PagerSettings.cs
- _OSSOCK.cs
- CultureInfo.cs
- Switch.cs
- Animatable.cs