Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- NamedPipeChannelListener.cs
- ToolboxItemSnapLineBehavior.cs
- DbExpressionRules.cs
- SelfIssuedAuthRSACryptoProvider.cs
- AppDomainProtocolHandler.cs
- XmlArrayItemAttributes.cs
- DataSourceXmlSerializer.cs
- Identity.cs
- HatchBrush.cs
- Registry.cs
- Queue.cs
- ObjectViewListener.cs
- MethodBody.cs
- TypeDependencyAttribute.cs
- GcHandle.cs
- PathFigure.cs
- OwnerDrawPropertyBag.cs
- SectionRecord.cs
- FilterElement.cs
- XmlSchemaSimpleType.cs
- WebPartUtil.cs
- HebrewNumber.cs
- EncoderExceptionFallback.cs
- CompilationPass2TaskInternal.cs
- ValidatedControlConverter.cs
- DataGridPageChangedEventArgs.cs
- FilterElement.cs
- DropShadowBitmapEffect.cs
- TimeIntervalCollection.cs
- TransformedBitmap.cs
- XmlAttributeProperties.cs
- TextDecorationCollectionConverter.cs
- MailWebEventProvider.cs
- WindowsGraphicsCacheManager.cs
- FileLoadException.cs
- DesignerExtenders.cs
- precedingsibling.cs
- KoreanLunisolarCalendar.cs
- BitmapImage.cs
- KerberosRequestorSecurityToken.cs
- ResourceExpressionBuilder.cs
- FlagsAttribute.cs
- LayoutUtils.cs
- listitem.cs
- BaseValidator.cs
- XmlSerializerVersionAttribute.cs
- WindowsContainer.cs
- MetaTable.cs
- ClusterRegistryConfigurationProvider.cs
- RoleGroupCollection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- FormatPage.cs
- OrderedEnumerableRowCollection.cs
- DropDownList.cs
- PathGeometry.cs
- SqlBulkCopyColumnMapping.cs
- PointAnimationUsingPath.cs
- Walker.cs
- ComponentCommands.cs
- Propagator.Evaluator.cs
- SkinBuilder.cs
- SudsWriter.cs
- ALinqExpressionVisitor.cs
- OleDbDataAdapter.cs
- HexParser.cs
- MsmqIntegrationInputChannel.cs
- Point4D.cs
- CommandBinding.cs
- ModuleBuilder.cs
- MdiWindowListItemConverter.cs
- GenericXmlSecurityToken.cs
- SafeNativeMethods.cs
- PropertyPathWorker.cs
- CodeTypeParameterCollection.cs
- LocationUpdates.cs
- WebRequestModuleElement.cs
- TreeNodeStyle.cs
- WebPartConnectionsEventArgs.cs
- DataSetMappper.cs
- CreationContext.cs
- PrintController.cs
- WinFormsSpinner.cs
- ItemsPanelTemplate.cs
- ContainerSelectorActiveEvent.cs
- SynchronizedMessageSource.cs
- GrowingArray.cs
- TakeOrSkipQueryOperator.cs
- XmlNamedNodeMap.cs
- WsdlBuildProvider.cs
- EntityDataSourceReferenceGroup.cs
- HttpPostedFile.cs
- HwndMouseInputProvider.cs
- cookiecollection.cs
- BoundsDrawingContextWalker.cs
- PrincipalPermission.cs
- CapabilitiesState.cs
- DataRow.cs
- HostnameComparisonMode.cs
- DataServiceProcessingPipelineEventArgs.cs
- _IPv4Address.cs