Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Xslt / XsltContext.cs / 1305376 / XsltContext.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System.Collections; using System.Xml.XPath; namespace System.Xml.Xsl { public interface IXsltContextFunction { int Minargs { get; } int Maxargs { get; } XPathResultType ReturnType { get; } XPathResultType[] ArgTypes { get; } object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext); } public interface IXsltContextVariable { bool IsLocal { get; } bool IsParam { get; } XPathResultType VariableType { get; } object Evaluate(XsltContext xsltContext); } public abstract class XsltContext : XmlNamespaceManager { protected XsltContext(NameTable table) : base(table) {} protected XsltContext() : base(new NameTable()) {} // This dummy XsltContext that doesn't actualy initialize XmlNamespaceManager // is used by XsltCompileContext internal XsltContext(bool dummy) : base() {} public abstract IXsltContextVariable ResolveVariable(string prefix, string name); public abstract IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] ArgTypes); public abstract bool Whitespace { get; } public abstract bool PreserveWhitespace(XPathNavigator node); public abstract int CompareDocument (string baseUri, string nextbaseUri); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System.Collections; using System.Xml.XPath; namespace System.Xml.Xsl { public interface IXsltContextFunction { int Minargs { get; } int Maxargs { get; } XPathResultType ReturnType { get; } XPathResultType[] ArgTypes { get; } object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext); } public interface IXsltContextVariable { bool IsLocal { get; } bool IsParam { get; } XPathResultType VariableType { get; } object Evaluate(XsltContext xsltContext); } public abstract class XsltContext : XmlNamespaceManager { protected XsltContext(NameTable table) : base(table) {} protected XsltContext() : base(new NameTable()) {} // This dummy XsltContext that doesn't actualy initialize XmlNamespaceManager // is used by XsltCompileContext internal XsltContext(bool dummy) : base() {} public abstract IXsltContextVariable ResolveVariable(string prefix, string name); public abstract IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] ArgTypes); public abstract bool Whitespace { get; } public abstract bool PreserveWhitespace(XPathNavigator node); public abstract int CompareDocument (string baseUri, string nextbaseUri); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LineServicesRun.cs
- DefaultBinder.cs
- MediaScriptCommandRoutedEventArgs.cs
- HttpRawResponse.cs
- sqlinternaltransaction.cs
- coordinator.cs
- LinqDataSourceContextData.cs
- ObjectDataSource.cs
- Privilege.cs
- Deflater.cs
- DataGridViewCheckBoxCell.cs
- XPathBinder.cs
- SequentialOutput.cs
- RecordsAffectedEventArgs.cs
- SelectionChangedEventArgs.cs
- ZipPackagePart.cs
- GetPageCompletedEventArgs.cs
- SqlRetyper.cs
- Pointer.cs
- HMACSHA1.cs
- SeekableReadStream.cs
- QueueProcessor.cs
- ProjectionPlan.cs
- Catch.cs
- CompositionTarget.cs
- GradientStopCollection.cs
- ClientTargetSection.cs
- FormatterConverter.cs
- ButtonFlatAdapter.cs
- SqlInternalConnectionTds.cs
- EventPropertyMap.cs
- HeaderCollection.cs
- Trigger.cs
- SiteMapDataSourceView.cs
- SignedPkcs7.cs
- HttpModuleAction.cs
- TreeIterator.cs
- ObjectQueryProvider.cs
- ExtendedTransformFactory.cs
- SystemResourceHost.cs
- DataGridViewCellStyleEditor.cs
- LoaderAllocator.cs
- VideoDrawing.cs
- WriteStateInfoBase.cs
- StrongNamePublicKeyBlob.cs
- DetailsViewRowCollection.cs
- PrinterUnitConvert.cs
- _HelperAsyncResults.cs
- DefaultEvaluationContext.cs
- httpstaticobjectscollection.cs
- InputReferenceExpression.cs
- AttributeQuery.cs
- GcHandle.cs
- XmlComplianceUtil.cs
- OpenTypeLayout.cs
- TextTreeNode.cs
- GlyphShapingProperties.cs
- SortQuery.cs
- ProfileEventArgs.cs
- xmlfixedPageInfo.cs
- AvTrace.cs
- InternalConfigSettingsFactory.cs
- DataGridColumnCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- PrinterResolution.cs
- StateWorkerRequest.cs
- CodeCompiler.cs
- VersionedStreamOwner.cs
- DataControlHelper.cs
- ResourceReferenceKeyNotFoundException.cs
- MachinePropertyVariants.cs
- TextMetrics.cs
- TypeAccessException.cs
- FontNamesConverter.cs
- StateItem.cs
- Evidence.cs
- X509Utils.cs
- StylusButton.cs
- OutputCacheSettingsSection.cs
- Vector3D.cs
- OdbcInfoMessageEvent.cs
- Int32RectConverter.cs
- DataObjectCopyingEventArgs.cs
- XmlQuerySequence.cs
- ToolstripProfessionalRenderer.cs
- RowSpanVector.cs
- SecureStringHasher.cs
- WpfKnownType.cs
- Style.cs
- BamlRecordHelper.cs
- _HelperAsyncResults.cs
- CurrencyManager.cs
- Table.cs
- SweepDirectionValidation.cs
- RenderingEventArgs.cs
- QueryTask.cs
- MarshalByRefObject.cs
- TraceUtility.cs
- SerializationSectionGroup.cs
- DockingAttribute.cs