Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilTargetType.cs / 1 / QilTargetType.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Xml.Schema; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having two children, the second of which is a literal type. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilTargetType : QilBinary { //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilTargetType(QilNodeType nodeType, QilNode expr, QilNode targetType) : base(nodeType, expr, targetType) { } //----------------------------------------------- // QilTargetType methods //----------------------------------------------- public QilNode Source { get { return Left; } set { Left = value; } } public XmlQueryType TargetType { get { return (XmlQueryType) ((QilLiteral) Right).Value; } set { ((QilLiteral) Right).Value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Xml.Schema; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having two children, the second of which is a literal type. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilTargetType : QilBinary { //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilTargetType(QilNodeType nodeType, QilNode expr, QilNode targetType) : base(nodeType, expr, targetType) { } //----------------------------------------------- // QilTargetType methods //----------------------------------------------- public QilNode Source { get { return Left; } set { Left = value; } } public XmlQueryType TargetType { get { return (XmlQueryType) ((QilLiteral) Right).Value; } set { ((QilLiteral) Right).Value = value; } } } } // 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
- WebControlAdapter.cs
- CommandEventArgs.cs
- VectorCollection.cs
- iisPickupDirectory.cs
- XmlQueryType.cs
- Pair.cs
- IPipelineRuntime.cs
- UserPrincipalNameElement.cs
- UIElementParaClient.cs
- HtmlContainerControl.cs
- figurelength.cs
- MultiTrigger.cs
- AssemblyName.cs
- StylusPointPropertyUnit.cs
- WriterOutput.cs
- ValidationContext.cs
- DataGridCaption.cs
- TimeStampChecker.cs
- ApplicationServicesHostFactory.cs
- DeferredReference.cs
- BuildProviderCollection.cs
- ClientUtils.cs
- IPEndPoint.cs
- PtsHost.cs
- PeerMaintainer.cs
- AutomationPropertyInfo.cs
- CommandExpr.cs
- XPathBinder.cs
- SqlFormatter.cs
- JoinElimination.cs
- Transform.cs
- AppLevelCompilationSectionCache.cs
- InlineCollection.cs
- RootCodeDomSerializer.cs
- PermissionToken.cs
- ButtonAutomationPeer.cs
- DashStyle.cs
- LinkLabelLinkClickedEvent.cs
- DrawListViewSubItemEventArgs.cs
- AdapterDictionary.cs
- HtmlTableCellCollection.cs
- ValidatorCompatibilityHelper.cs
- StylusButtonCollection.cs
- ReadOnlyTernaryTree.cs
- Message.cs
- UnsafeNativeMethods.cs
- DecimalStorage.cs
- LogManagementAsyncResult.cs
- PropertyChangingEventArgs.cs
- EntitySetRetriever.cs
- SchemaNamespaceManager.cs
- NGCPageContentSerializerAsync.cs
- DependencyPropertyConverter.cs
- DmlSqlGenerator.cs
- Form.cs
- SimpleHandlerBuildProvider.cs
- NativeMethods.cs
- MemberExpression.cs
- SqlMetaData.cs
- ManagedIStream.cs
- PersonalizationDictionary.cs
- RawStylusInputReport.cs
- Simplifier.cs
- DBDataPermissionAttribute.cs
- WebExceptionStatus.cs
- DataGridState.cs
- WpfXamlType.cs
- WindowProviderWrapper.cs
- SqlServer2KCompatibilityAnnotation.cs
- TableRowGroup.cs
- ViewManagerAttribute.cs
- DataGridHeaderBorder.cs
- TreeView.cs
- HMACSHA256.cs
- SingleAnimationUsingKeyFrames.cs
- NTAccount.cs
- XsdBuildProvider.cs
- Label.cs
- Int64KeyFrameCollection.cs
- Deflater.cs
- WebServiceParameterData.cs
- FileLevelControlBuilderAttribute.cs
- SQLInt16Storage.cs
- DataServiceRequestOfT.cs
- FrameworkName.cs
- PasswordPropertyTextAttribute.cs
- Zone.cs
- UrlUtility.cs
- WindowsBrush.cs
- CellTreeNodeVisitors.cs
- NavigatorOutput.cs
- ByteStream.cs
- FormViewInsertedEventArgs.cs
- SweepDirectionValidation.cs
- PersistenceProviderElement.cs
- DbUpdateCommandTree.cs
- SecurityException.cs
- MappingModelBuildProvider.cs
- NavigateEvent.cs
- DBConcurrencyException.cs