Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / ApplyImportsAction.cs / 1305376 / ApplyImportsAction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Diagnostics; using System.Xml; using System.Xml.XPath; internal class ApplyImportsAction : CompiledAction { private XmlQualifiedName mode; private Stylesheet stylesheet; private const int TemplateProcessed = 2; internal override void Compile(Compiler compiler) { CheckEmpty(compiler); if (! compiler.CanHaveApplyImports) { throw XsltException.Create(Res.Xslt_ApplyImports); } this.mode = compiler.CurrentMode; this.stylesheet = compiler.CompiledStylesheet; } internal override void Execute(Processor processor, ActionFrame frame) { Debug.Assert(processor != null && frame != null); switch (frame.State) { case Initialized: processor.PushTemplateLookup(frame.NodeSet, this.mode, /*importsOf:*/this.stylesheet); frame.State = TemplateProcessed; break; case TemplateProcessed: frame.Finished(); break; } } } } // 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
- CellParagraph.cs
- SqlParameter.cs
- ClickablePoint.cs
- ProxyManager.cs
- SecurityTokenTypes.cs
- XsltException.cs
- HyperLink.cs
- RegexWriter.cs
- SqlComparer.cs
- UIElementCollection.cs
- XmlChildNodes.cs
- ColorMatrix.cs
- FontWeightConverter.cs
- BuildManagerHost.cs
- PropertyDescriptorCollection.cs
- SymbolEqualComparer.cs
- ScaleTransform3D.cs
- TextParaClient.cs
- MultiTrigger.cs
- DesignBindingValueUIHandler.cs
- UseLicense.cs
- DataGridViewImageColumn.cs
- SiteIdentityPermission.cs
- FamilyCollection.cs
- SemanticValue.cs
- SqlProcedureAttribute.cs
- AlphaSortedEnumConverter.cs
- EastAsianLunisolarCalendar.cs
- TextParaLineResult.cs
- DiscardableAttribute.cs
- FlowDocumentScrollViewer.cs
- FtpRequestCacheValidator.cs
- CheckBoxPopupAdapter.cs
- WrappedIUnknown.cs
- ObjectConverter.cs
- ImageUrlEditor.cs
- ToolStripPanelSelectionGlyph.cs
- Single.cs
- PageThemeCodeDomTreeGenerator.cs
- TdsParserSessionPool.cs
- ControlIdConverter.cs
- SafeCloseHandleCritical.cs
- updatecommandorderer.cs
- CompletedAsyncResult.cs
- BitmapEffectGeneralTransform.cs
- Storyboard.cs
- AttributeUsageAttribute.cs
- CircleHotSpot.cs
- DataBinder.cs
- XmlImplementation.cs
- ValueType.cs
- SessionStateContainer.cs
- EntityReference.cs
- SourceItem.cs
- SHA1.cs
- SystemIPAddressInformation.cs
- UrlPath.cs
- AttributeAction.cs
- PerfService.cs
- MultiAsyncResult.cs
- Msmq4PoisonHandler.cs
- CompilerResults.cs
- MDIWindowDialog.cs
- DesignerRegionCollection.cs
- BuiltInExpr.cs
- DBConcurrencyException.cs
- DataGridColumn.cs
- PointF.cs
- ToolStripDropDownMenu.cs
- PerformanceCounterPermissionEntry.cs
- TextBox.cs
- DataGridViewImageCell.cs
- SamlNameIdentifierClaimResource.cs
- SelectionManager.cs
- RowUpdatedEventArgs.cs
- LogicalMethodInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- TextRangeEditTables.cs
- Win32Native.cs
- CodeExporter.cs
- Vector3DAnimationBase.cs
- NavigationCommands.cs
- ValueSerializer.cs
- SqlDataSourceConnectionPanel.cs
- FastEncoder.cs
- CodeCompileUnit.cs
- LongValidator.cs
- ExceptionRoutedEventArgs.cs
- IPEndPoint.cs
- SqlCommand.cs
- DataTableReaderListener.cs
- WorkflowMarkupSerializer.cs
- MsmqDecodeHelper.cs
- Binding.cs
- Encoding.cs
- EntityDescriptor.cs
- RIPEMD160.cs
- ModelUtilities.cs
- Enum.cs
- ResourceType.cs