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
- FunctionParameter.cs
- oledbmetadatacolumnnames.cs
- SrgsElementList.cs
- fixedPageContentExtractor.cs
- TableDetailsCollection.cs
- XmlIncludeAttribute.cs
- Sql8ConformanceChecker.cs
- FontWeight.cs
- AssemblyEvidenceFactory.cs
- ElementUtil.cs
- ProcessHostConfigUtils.cs
- FormsAuthenticationCredentials.cs
- _DisconnectOverlappedAsyncResult.cs
- Win32Native.cs
- PrintPreviewDialog.cs
- XappLauncher.cs
- DurableInstance.cs
- StringSorter.cs
- SessionChannels.cs
- NameTable.cs
- ProxyFragment.cs
- ListViewItemSelectionChangedEvent.cs
- ChineseLunisolarCalendar.cs
- SafeLibraryHandle.cs
- SudsCommon.cs
- AdornerLayer.cs
- CompiledRegexRunner.cs
- XPathDocument.cs
- VersionedStream.cs
- WorkflowMarkupSerializationProvider.cs
- AnimatedTypeHelpers.cs
- HtmlWindowCollection.cs
- SmiContextFactory.cs
- DispatchOperation.cs
- MarkupObject.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- RepeatBehavior.cs
- Operator.cs
- Annotation.cs
- OutputCacheEntry.cs
- EntityViewGenerationAttribute.cs
- _NtlmClient.cs
- CharConverter.cs
- SecurityCriticalDataForSet.cs
- DesignBindingEditor.cs
- CheckBoxPopupAdapter.cs
- CssTextWriter.cs
- Parameter.cs
- BaseTemplateBuildProvider.cs
- MouseActionConverter.cs
- Pens.cs
- Nullable.cs
- WindowsComboBox.cs
- FaultHandlingFilter.cs
- LogicalExpressionTypeConverter.cs
- IdleTimeoutMonitor.cs
- Site.cs
- documentsequencetextcontainer.cs
- ACL.cs
- ConfigurationStrings.cs
- KeyFrames.cs
- SqlTriggerAttribute.cs
- DataGridColumn.cs
- BufferedOutputStream.cs
- SqlGenericUtil.cs
- KeyPressEvent.cs
- XmlNodeReader.cs
- ComplexBindingPropertiesAttribute.cs
- SpellerInterop.cs
- ArrayTypeMismatchException.cs
- ListChangedEventArgs.cs
- HwndAppCommandInputProvider.cs
- Config.cs
- CodeMethodInvokeExpression.cs
- PermissionSet.cs
- HttpListenerContext.cs
- Model3DCollection.cs
- SourceItem.cs
- IriParsingElement.cs
- DataSetUtil.cs
- RectAnimationBase.cs
- FrameworkElement.cs
- DataGridViewAccessibleObject.cs
- ViewCellSlot.cs
- BooleanKeyFrameCollection.cs
- ImportCatalogPart.cs
- MultiView.cs
- HttpNamespaceReservationInstallComponent.cs
- ToolStripSettings.cs
- WindowsScrollBar.cs
- CompositeScriptReferenceEventArgs.cs
- WebServiceFault.cs
- NavigationPropertySingletonExpression.cs
- SecurityPermission.cs
- _HelperAsyncResults.cs
- EpmContentSerializerBase.cs
- XmlSchemaImporter.cs
- BinaryUtilClasses.cs
- ipaddressinformationcollection.cs
- TextDecoration.cs