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
- WmpBitmapEncoder.cs
- ClientScriptManager.cs
- DesignerProperties.cs
- OutputCacheSettings.cs
- MethodBuilderInstantiation.cs
- ADMembershipUser.cs
- Version.cs
- FontStretch.cs
- UiaCoreProviderApi.cs
- Transform.cs
- CollaborationHelperFunctions.cs
- WsatServiceAddress.cs
- BackStopAuthenticationModule.cs
- GatewayDefinition.cs
- X509CertificateInitiatorClientCredential.cs
- CollectionDataContractAttribute.cs
- InternalPermissions.cs
- FlowLayoutPanel.cs
- SrgsRule.cs
- VirtualStackFrame.cs
- InvokePatternIdentifiers.cs
- FolderLevelBuildProviderCollection.cs
- ProviderConnectionPointCollection.cs
- PeerName.cs
- Glyph.cs
- FixedDocument.cs
- ListItemCollection.cs
- AlternateViewCollection.cs
- ExtensibleClassFactory.cs
- MediaTimeline.cs
- SystemInfo.cs
- UrlPath.cs
- TrackingQuery.cs
- DispatchWrapper.cs
- PointLightBase.cs
- LineServices.cs
- HttpHandlerActionCollection.cs
- SafeThreadHandle.cs
- SiblingIterators.cs
- CodeDirectoryCompiler.cs
- DataBoundLiteralControl.cs
- BaseInfoTable.cs
- ISAPIWorkerRequest.cs
- AspCompat.cs
- ExpressionNode.cs
- HtmlInputButton.cs
- RectAnimationClockResource.cs
- HttpDebugHandler.cs
- SqlBulkCopyColumnMapping.cs
- HtmlControlPersistable.cs
- ReferencedType.cs
- AuthorizationSection.cs
- Section.cs
- FixedMaxHeap.cs
- UnsafeNativeMethods.cs
- PageRouteHandler.cs
- TemplateParser.cs
- Win32MouseDevice.cs
- ToolConsole.cs
- SoundPlayerAction.cs
- XmlDataSourceView.cs
- ToolStripDropDownButton.cs
- DocumentApplicationJournalEntryEventArgs.cs
- glyphs.cs
- ColorTranslator.cs
- CommandHelpers.cs
- EmptyStringExpandableObjectConverter.cs
- DbConvert.cs
- SqlDataSourceAdvancedOptionsForm.cs
- WebPartsSection.cs
- ColorInterpolationModeValidation.cs
- WhitespaceRule.cs
- OciHandle.cs
- ThreadAbortException.cs
- ClosableStream.cs
- sqlnorm.cs
- ImportCatalogPart.cs
- WebPartManager.cs
- Byte.cs
- Merger.cs
- ProtocolViolationException.cs
- DataControlFieldCell.cs
- NamedPipeConnectionPool.cs
- PeerDuplexChannelListener.cs
- CodeCatchClause.cs
- HashJoinQueryOperatorEnumerator.cs
- DesignerEditorPartChrome.cs
- SolidBrush.cs
- StateMachineWorkflowDesigner.cs
- OleTxTransactionInfo.cs
- OneWayBindingElementImporter.cs
- _KerberosClient.cs
- ScrollData.cs
- PowerModeChangedEventArgs.cs
- ContextMenu.cs
- XLinq.cs
- AttachedPropertyMethodSelector.cs
- ListViewInsertionMark.cs
- ConfigurationManagerInternalFactory.cs
- ParserHooks.cs