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
- Rect3DConverter.cs
- PartialArray.cs
- GuidelineSet.cs
- WindowClosedEventArgs.cs
- HelpProvider.cs
- Menu.cs
- TextElementAutomationPeer.cs
- ValidationHelpers.cs
- InputProviderSite.cs
- DiscoveryReference.cs
- XmlElementAttributes.cs
- ExtendedPropertiesHandler.cs
- StickyNoteContentControl.cs
- ManagementScope.cs
- QuestionEventArgs.cs
- UniqueConstraint.cs
- _HeaderInfo.cs
- AncestorChangedEventArgs.cs
- NamespaceQuery.cs
- QueryCacheManager.cs
- NavigatorInput.cs
- AuthenticationManager.cs
- WriterOutput.cs
- TextDecorationCollection.cs
- DependencyObjectPropertyDescriptor.cs
- TreeNodeCollectionEditorDialog.cs
- BinaryReader.cs
- WebBrowserPermission.cs
- unitconverter.cs
- Attributes.cs
- CompoundFileStreamReference.cs
- TemplateBaseAction.cs
- ElementNotEnabledException.cs
- XmlnsDictionary.cs
- BlockExpression.cs
- ReliableReplySessionChannel.cs
- Input.cs
- AVElementHelper.cs
- NavigateEvent.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- AssociationSetEnd.cs
- Frame.cs
- CommandID.cs
- StyleTypedPropertyAttribute.cs
- ServiceOperationParameter.cs
- LoginView.cs
- EdmMember.cs
- MultiView.cs
- CssStyleCollection.cs
- GridViewAutomationPeer.cs
- BufferBuilder.cs
- Size.cs
- SafeSystemMetrics.cs
- RangeValidator.cs
- XmlSchemaSimpleContent.cs
- TransactionScope.cs
- NamespaceCollection.cs
- DetailsViewDeleteEventArgs.cs
- InstancePersistenceEvent.cs
- SQLBinaryStorage.cs
- TargetConverter.cs
- CodeLabeledStatement.cs
- DbException.cs
- BmpBitmapEncoder.cs
- CopyCodeAction.cs
- WebPartConnectionsCancelEventArgs.cs
- PhysicalOps.cs
- TransformedBitmap.cs
- InteropTrackingRecord.cs
- SqlReferenceCollection.cs
- DesignColumn.cs
- HtmlShimManager.cs
- CheckedListBox.cs
- DateTimeOffsetConverter.cs
- SimpleWorkerRequest.cs
- ControlPropertyNameConverter.cs
- _ProxyChain.cs
- WebPartConnectionsConnectVerb.cs
- ReceiveErrorHandling.cs
- AnchoredBlock.cs
- ChangePasswordAutoFormat.cs
- BinaryObjectReader.cs
- AxisAngleRotation3D.cs
- ThreadStateException.cs
- _HeaderInfo.cs
- GenericUriParser.cs
- DistributedTransactionPermission.cs
- FileNotFoundException.cs
- NTAccount.cs
- Compiler.cs
- CookieParameter.cs
- MethodBody.cs
- BoundPropertyEntry.cs
- ScrollProperties.cs
- Optimizer.cs
- AttributeCollection.cs
- AnnotationElement.cs
- DataGridViewLayoutData.cs
- GradientBrush.cs
- HttpModuleCollection.cs