Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MetadataLocation.cs / 1 / MetadataLocation.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Description { using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Serialization; [XmlRoot(ElementName = MetadataStrings.MetadataExchangeStrings.Location, Namespace = MetadataStrings.MetadataExchangeStrings.Namespace)] public class MetadataLocation { string location; public MetadataLocation() { } public MetadataLocation(string location) { this.Location = location; } [XmlText] public string Location { get { return this.location; } set { if (value != null) { Uri uri; if (!Uri.TryCreate(value, UriKind.RelativeOrAbsolute, out uri)) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SFxMetadataReferenceInvalidLocation, value)); } this.location = 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
- DocumentPageView.cs
- AssemblyAttributes.cs
- NativeMethods.cs
- RegexRunner.cs
- CallTemplateAction.cs
- ObservableCollection.cs
- InstanceData.cs
- PrintingPermission.cs
- CompressionTracing.cs
- Freezable.cs
- CatchDesigner.xaml.cs
- ValueTypePropertyReference.cs
- OdbcException.cs
- OSFeature.cs
- JsonFormatReaderGenerator.cs
- UnsignedPublishLicense.cs
- RefreshPropertiesAttribute.cs
- ConstructorNeedsTagAttribute.cs
- WebPartChrome.cs
- DefaultBindingPropertyAttribute.cs
- CallContext.cs
- webeventbuffer.cs
- XamlStyleSerializer.cs
- MessageAction.cs
- TableColumn.cs
- MasterPageParser.cs
- TextSimpleMarkerProperties.cs
- ClipboardProcessor.cs
- ValueExpressions.cs
- ToolStripDropDownItemDesigner.cs
- Flowchart.cs
- XmlDomTextWriter.cs
- CreateUserErrorEventArgs.cs
- PropertyEmitter.cs
- GlyphManager.cs
- Merger.cs
- SplineKeyFrames.cs
- TriState.cs
- RemoteCryptoTokenProvider.cs
- StyleXamlTreeBuilder.cs
- RegexReplacement.cs
- EntitySetDataBindingList.cs
- DataGridViewCellStateChangedEventArgs.cs
- InfiniteIntConverter.cs
- ListViewAutomationPeer.cs
- IsolatedStoragePermission.cs
- ErrorStyle.cs
- WorkflowInstanceExtensionManager.cs
- HelloMessageCD1.cs
- ArrangedElement.cs
- LogSwitch.cs
- ProvideValueServiceProvider.cs
- unitconverter.cs
- SerializationEventsCache.cs
- ArrayExtension.cs
- SoapTypeAttribute.cs
- WindowsEditBox.cs
- xdrvalidator.cs
- x509store.cs
- SemanticResultValue.cs
- ResourceAssociationTypeEnd.cs
- figurelength.cs
- FrameworkTemplate.cs
- ComplexType.cs
- XmlSchemaDocumentation.cs
- DBConnection.cs
- NonNullItemCollection.cs
- WhitespaceRuleReader.cs
- HttpStreamMessage.cs
- DbParameterHelper.cs
- ByteStream.cs
- AsyncCompletedEventArgs.cs
- XPathAncestorQuery.cs
- shaperfactory.cs
- CheckPair.cs
- FrameworkReadOnlyPropertyMetadata.cs
- FieldBuilder.cs
- RegexMatchCollection.cs
- NavigationWindowAutomationPeer.cs
- WhitespaceRuleReader.cs
- ContainerParagraph.cs
- GroupBoxRenderer.cs
- ReadOnlyDataSourceView.cs
- PrivateFontCollection.cs
- MeshGeometry3D.cs
- HttpRequestMessageProperty.cs
- LambdaCompiler.Logical.cs
- ActivityCollectionMarkupSerializer.cs
- QilXmlWriter.cs
- ObjectTokenCategory.cs
- DesignerAttribute.cs
- GlobalizationAssembly.cs
- ExtentKey.cs
- RecordConverter.cs
- SqlUdtInfo.cs
- SpeakCompletedEventArgs.cs
- DataColumnMapping.cs
- CqlLexerHelpers.cs
- TypeUnloadedException.cs
- EntityDataSourceView.cs