Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XmlResolver.cs / 1 / XmlResolver.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml { using System; using System.IO; using System.Net; using System.Text; using System.Security; using System.Security.Policy; using System.Security.Permissions; ////// /// public abstract class XmlResolver { ///Resolves external XML resources named by a Uniform /// Resource Identifier (URI). This class is ////// . /// /// public abstract Object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn); ///Maps a /// URI to an Object containing the actual resource. ////// /// public virtual Uri ResolveUri(Uri baseUri, string relativeUri) { if ( baseUri == null || ( !baseUri.IsAbsoluteUri && baseUri.OriginalString.Length == 0 ) ) { Uri uri = new Uri( relativeUri, UriKind.RelativeOrAbsolute ); if ( !uri.IsAbsoluteUri && uri.OriginalString.Length > 0 ) { uri = new Uri( Path.GetFullPath( relativeUri ) ); } return uri; } else { if ( relativeUri == null || relativeUri.Length == 0 ) { return baseUri; } return new Uri( baseUri, relativeUri ); } } //UE attension ///[To be supplied.] ////// /// public abstract ICredentials Credentials { set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COM2PictureConverter.cs
- PenContexts.cs
- OutputCacheSettings.cs
- DtrList.cs
- XPathNavigatorKeyComparer.cs
- BrowserCapabilitiesCompiler.cs
- BamlBinaryReader.cs
- SqlVisitor.cs
- IsolatedStorageException.cs
- XmlRawWriter.cs
- XmlDownloadManager.cs
- SHA384.cs
- XmlSchema.cs
- CodeDomComponentSerializationService.cs
- SQlBooleanStorage.cs
- ColumnMapCopier.cs
- Helpers.cs
- XmlSiteMapProvider.cs
- DerivedKeySecurityTokenStub.cs
- TextBoxBase.cs
- InternalResources.cs
- FrameworkTemplate.cs
- QilList.cs
- TextContainerHelper.cs
- RecordManager.cs
- TickBar.cs
- NamespaceList.cs
- BackStopAuthenticationModule.cs
- StructureChangedEventArgs.cs
- MobileTextWriter.cs
- SqlDataSourceFilteringEventArgs.cs
- SingleSelectRootGridEntry.cs
- SlotInfo.cs
- DodSequenceMerge.cs
- HtmlHead.cs
- ToolboxComponentsCreatingEventArgs.cs
- Deflater.cs
- ServiceOperationInfoTypeConverter.cs
- ISAPIApplicationHost.cs
- Configuration.cs
- odbcmetadatacolumnnames.cs
- SimpleLine.cs
- NameTable.cs
- TypeUtil.cs
- HighlightComponent.cs
- OracleConnectionStringBuilder.cs
- FixUp.cs
- HtmlGenericControl.cs
- Glyph.cs
- Pen.cs
- EdmProviderManifest.cs
- PlaceHolder.cs
- XmlSigningNodeWriter.cs
- GridItemCollection.cs
- FrameworkContentElementAutomationPeer.cs
- FullTextBreakpoint.cs
- PageParserFilter.cs
- DesignerActionItemCollection.cs
- CookielessHelper.cs
- ChannelServices.cs
- EntityViewGenerationAttribute.cs
- ActivityDelegate.cs
- RichTextBoxDesigner.cs
- ETagAttribute.cs
- NamespaceEmitter.cs
- TypedTableBase.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- LinearGradientBrush.cs
- ProfileProvider.cs
- XPathAncestorQuery.cs
- MethodBuilder.cs
- RichTextBox.cs
- Double.cs
- MethodExpression.cs
- QueryExpr.cs
- BindingValueChangedEventArgs.cs
- AppDomainEvidenceFactory.cs
- Cursor.cs
- TransformerTypeCollection.cs
- PersonalizationDictionary.cs
- InvalidWMPVersionException.cs
- Vector3DValueSerializer.cs
- SoapCommonClasses.cs
- MetadataProperty.cs
- InvalidateEvent.cs
- NetworkAddressChange.cs
- SafeNativeMethodsOther.cs
- unsafenativemethodstextservices.cs
- InProcStateClientManager.cs
- XPathNodeList.cs
- ConstructorBuilder.cs
- StateRuntime.cs
- EmptyCollection.cs
- Style.cs
- SortedSet.cs
- SeekStoryboard.cs
- AutoResetEvent.cs
- ObjectIDGenerator.cs
- GenerateHelper.cs
- DoubleAnimationClockResource.cs