Code:
/ FX-1434 / FX-1434 / 1.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
- RuntimeCompatibilityAttribute.cs
- HwndPanningFeedback.cs
- Inflater.cs
- EventArgs.cs
- PeerTransportCredentialType.cs
- AVElementHelper.cs
- DataGridItemEventArgs.cs
- FixedFlowMap.cs
- SchemaManager.cs
- SqlFunctions.cs
- ReversePositionQuery.cs
- wgx_exports.cs
- EntityDataSourceWrapperCollection.cs
- LoadWorkflowByKeyAsyncResult.cs
- HttpCapabilitiesSectionHandler.cs
- MatrixAnimationUsingPath.cs
- DescendantQuery.cs
- HttpTransportElement.cs
- CngAlgorithm.cs
- DataSourceXmlSubItemAttribute.cs
- RTLAwareMessageBox.cs
- Deflater.cs
- ImageSource.cs
- ToggleProviderWrapper.cs
- UniqueIdentifierService.cs
- DataViewManager.cs
- DataSetUtil.cs
- ScriptReferenceBase.cs
- AttributeEmitter.cs
- SEHException.cs
- PagesChangedEventArgs.cs
- GeometryConverter.cs
- CodeCatchClauseCollection.cs
- WebBrowserSiteBase.cs
- AutomationProperty.cs
- Reference.cs
- SQLMembershipProvider.cs
- InvalidOperationException.cs
- WebConfigurationHostFileChange.cs
- OneOf.cs
- GreenMethods.cs
- Rect3D.cs
- PageHandlerFactory.cs
- ImpersonateTokenRef.cs
- ResXResourceReader.cs
- LeafCellTreeNode.cs
- HierarchicalDataTemplate.cs
- GridView.cs
- RegexTree.cs
- HttpUnhandledOperationInvoker.cs
- ItemCollection.cs
- WindowsListViewItemCheckBox.cs
- CaseInsensitiveHashCodeProvider.cs
- GlobalItem.cs
- RegexMatch.cs
- _NegoState.cs
- ReturnType.cs
- CodeDirectoryCompiler.cs
- WebPartRestoreVerb.cs
- GACIdentityPermission.cs
- TargetException.cs
- XmlSchemaAnnotated.cs
- SystemParameters.cs
- AssemblyBuilder.cs
- NamespaceExpr.cs
- OracleException.cs
- XPathSelectionIterator.cs
- ChildTable.cs
- BuildProviderUtils.cs
- WindowsToolbar.cs
- XmlSchemaAnnotated.cs
- MessageProperties.cs
- CorrelationManager.cs
- XhtmlConformanceSection.cs
- TrustSection.cs
- Path.cs
- TextCollapsingProperties.cs
- WSFederationHttpSecurity.cs
- HandledEventArgs.cs
- TypeConverterMarkupExtension.cs
- FillErrorEventArgs.cs
- ItemCheckedEvent.cs
- VectorAnimationBase.cs
- CommandPlan.cs
- Evaluator.cs
- ButtonDesigner.cs
- FolderBrowserDialogDesigner.cs
- FrameSecurityDescriptor.cs
- Polygon.cs
- FastEncoder.cs
- AddInActivator.cs
- SoapHeaderAttribute.cs
- GridItemCollection.cs
- PasswordTextContainer.cs
- OleServicesContext.cs
- DirectoryRootQuery.cs
- Connector.cs
- TriggerAction.cs
- wmiprovider.cs
- UserUseLicenseDictionaryLoader.cs