Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilTargetType.cs / 1305376 / 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
- HwndStylusInputProvider.cs
- MimeMultiPart.cs
- ConfigurationStrings.cs
- ToolStripContentPanel.cs
- ToolboxItem.cs
- ObjectTypeMapping.cs
- ToolStripSplitButton.cs
- Compiler.cs
- TransactionInformation.cs
- RecognizeCompletedEventArgs.cs
- ScrollableControl.cs
- GridSplitterAutomationPeer.cs
- HtmlEncodedRawTextWriter.cs
- TabPanel.cs
- AssociationSet.cs
- RenamedEventArgs.cs
- PageVisual.cs
- MediaElementAutomationPeer.cs
- FileDataSourceCache.cs
- XsdDuration.cs
- ScriptModule.cs
- PartialCachingAttribute.cs
- NullableFloatSumAggregationOperator.cs
- TreeNodeEventArgs.cs
- TypeToArgumentTypeConverter.cs
- Condition.cs
- KeyNotFoundException.cs
- SchemaTableColumn.cs
- XmlValidatingReaderImpl.cs
- CorrelationResolver.cs
- Style.cs
- DockPattern.cs
- TextUtf8RawTextWriter.cs
- ThicknessConverter.cs
- _UncName.cs
- AssociationEndMember.cs
- SynchronizedDispatch.cs
- RtfFormatStack.cs
- SettingsPropertyValue.cs
- CannotUnloadAppDomainException.cs
- HttpModuleActionCollection.cs
- HttpBufferlessInputStream.cs
- TagMapCollection.cs
- SqlAggregateChecker.cs
- ConfigurationLocationCollection.cs
- OwnerDrawPropertyBag.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ReliableMessagingVersionConverter.cs
- MethodAccessException.cs
- SoundPlayer.cs
- FirewallWrapper.cs
- PointConverter.cs
- LineServicesCallbacks.cs
- ModifierKeysConverter.cs
- WebPartEditorOkVerb.cs
- ScriptHandlerFactory.cs
- CustomSignedXml.cs
- LinkAreaEditor.cs
- WindowPattern.cs
- InternalConfigHost.cs
- ValidatorUtils.cs
- EntityExpressionVisitor.cs
- ParserHooks.cs
- RecommendedAsConfigurableAttribute.cs
- LogicalMethodInfo.cs
- WebPartCatalogAddVerb.cs
- RolePrincipal.cs
- Visual3D.cs
- ConfigurationSectionGroup.cs
- SynthesizerStateChangedEventArgs.cs
- OperationPickerDialog.cs
- CultureTable.cs
- EntryIndex.cs
- TripleDESCryptoServiceProvider.cs
- XmlJsonReader.cs
- PartialCachingAttribute.cs
- MissingManifestResourceException.cs
- XmlValidatingReader.cs
- ContentDisposition.cs
- StringFreezingAttribute.cs
- ProxyHelper.cs
- RichTextBoxAutomationPeer.cs
- AuthorizationRule.cs
- Util.cs
- SyndicationContent.cs
- DuplicateWaitObjectException.cs
- ListenerAdapterBase.cs
- DebugManager.cs
- ItemsControlAutomationPeer.cs
- DataGridViewRowCancelEventArgs.cs
- TextEndOfParagraph.cs
- Profiler.cs
- RequestStatusBarUpdateEventArgs.cs
- SqlHelper.cs
- CompositeActivityCodeGenerator.cs
- MulticastOption.cs
- XmlCustomFormatter.cs
- ResourceContainer.cs
- WinFormsUtils.cs
- RSAProtectedConfigurationProvider.cs