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
- DataReceivedEventArgs.cs
- ServiceContractDetailViewControl.cs
- XmlElementAttribute.cs
- SR.cs
- ProtectedConfigurationSection.cs
- TemplateControlParser.cs
- DescendantQuery.cs
- Rectangle.cs
- TypeSystemHelpers.cs
- ListSurrogate.cs
- ProfileSection.cs
- EdmError.cs
- RtfToXamlReader.cs
- StatusBar.cs
- Operator.cs
- SqlGatherProducedAliases.cs
- TargetControlTypeAttribute.cs
- Math.cs
- VerificationAttribute.cs
- CheckoutException.cs
- ForwardPositionQuery.cs
- Zone.cs
- HttpAsyncResult.cs
- SessionEndingCancelEventArgs.cs
- AssertFilter.cs
- TextParagraphView.cs
- ChangePassword.cs
- HostVisual.cs
- WinEventTracker.cs
- Mutex.cs
- ParseChildrenAsPropertiesAttribute.cs
- Math.cs
- GenericIdentity.cs
- OperationResponse.cs
- Symbol.cs
- OdbcTransaction.cs
- DoubleCollectionValueSerializer.cs
- ApplicationSettingsBase.cs
- OleDbConnectionFactory.cs
- EntityStoreSchemaGenerator.cs
- PerspectiveCamera.cs
- WizardForm.cs
- ApplicationInterop.cs
- ObjectPersistData.cs
- Pens.cs
- UpdateException.cs
- CatalogPartCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- ListDictionaryInternal.cs
- FixedStringLookup.cs
- ExternalCalls.cs
- EndpointDiscoveryElement.cs
- InstancePersistenceContext.cs
- SqlBooleanMismatchVisitor.cs
- ConnectionPointCookie.cs
- PrivilegedConfigurationManager.cs
- TraversalRequest.cs
- WebBrowser.cs
- LassoHelper.cs
- TypeConverterValueSerializer.cs
- TypeInitializationException.cs
- ReadOnlyObservableCollection.cs
- listitem.cs
- TypeGeneratedEventArgs.cs
- HandledMouseEvent.cs
- DebugView.cs
- Vector3DAnimationBase.cs
- updatecommandorderer.cs
- FrameworkElementFactoryMarkupObject.cs
- ConstantProjectedSlot.cs
- RootAction.cs
- CollectionChange.cs
- UnmanagedMarshal.cs
- PropertyOverridesDialog.cs
- TdsParserStateObject.cs
- MainMenu.cs
- ProxyHwnd.cs
- PointCollectionConverter.cs
- TextContainerChangeEventArgs.cs
- ToolStripDropDownItem.cs
- EditingMode.cs
- VirtualStackFrame.cs
- Operator.cs
- DocumentViewer.cs
- XmlSchemaNotation.cs
- KeySpline.cs
- MessageSecurityVersionConverter.cs
- DataListItemCollection.cs
- Activator.cs
- DynamicResourceExtensionConverter.cs
- FrameworkName.cs
- DataServiceQuery.cs
- CommentEmitter.cs
- glyphs.cs
- PlatformNotSupportedException.cs
- DeviceSpecificDesigner.cs
- ListViewItem.cs
- ProviderIncompatibleException.cs
- DragEventArgs.cs
- FixedSOMPage.cs