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
- ExpressionPrefixAttribute.cs
- ContentElement.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SoapFault.cs
- GatewayDefinition.cs
- Table.cs
- CompoundFileIOPermission.cs
- Rect3DConverter.cs
- XmlSchemaElement.cs
- _NetworkingPerfCounters.cs
- RtType.cs
- TypeLibConverter.cs
- CodeDefaultValueExpression.cs
- StringResourceManager.cs
- ObservableCollection.cs
- TextFormatter.cs
- SolidColorBrush.cs
- DelegatingTypeDescriptionProvider.cs
- Timer.cs
- GradientStopCollection.cs
- TextTreeTextBlock.cs
- TextCollapsingProperties.cs
- DataContractSerializerElement.cs
- ScrollBarAutomationPeer.cs
- AuthorizationRule.cs
- SrgsToken.cs
- TextContainerHelper.cs
- Atom10FormatterFactory.cs
- Solver.cs
- Vector3DCollectionConverter.cs
- PeerInputChannelListener.cs
- PrefixQName.cs
- Zone.cs
- Binding.cs
- ClientBuildManagerCallback.cs
- SqlMethods.cs
- FontDriver.cs
- TableRowCollection.cs
- Attributes.cs
- InputLanguageCollection.cs
- ActivatableWorkflowsQueryResult.cs
- QueryResults.cs
- WindowsTreeView.cs
- OdbcParameter.cs
- Select.cs
- EdmProviderManifest.cs
- ExtendedPropertiesHandler.cs
- FillErrorEventArgs.cs
- Utils.cs
- LoginUtil.cs
- GACMembershipCondition.cs
- RightsManagementInformation.cs
- WindowVisualStateTracker.cs
- CheckBoxList.cs
- DbDataReader.cs
- PanelDesigner.cs
- RelationshipManager.cs
- QuaternionAnimation.cs
- HtmlControlPersistable.cs
- GlobalProxySelection.cs
- FontUnitConverter.cs
- EntityTypeBase.cs
- HMACSHA512.cs
- Duration.cs
- InheritedPropertyDescriptor.cs
- StylusButton.cs
- GeneralTransform2DTo3D.cs
- DataObjectPastingEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- CDSCollectionETWBCLProvider.cs
- PropertySourceInfo.cs
- AspNetSynchronizationContext.cs
- Italic.cs
- AnnotationAuthorChangedEventArgs.cs
- SqlConnectionString.cs
- _AcceptOverlappedAsyncResult.cs
- ProviderSettingsCollection.cs
- ImmutablePropertyDescriptorGridEntry.cs
- AlternationConverter.cs
- NameTable.cs
- NeutralResourcesLanguageAttribute.cs
- Queue.cs
- PropertyGeneratedEventArgs.cs
- SafeArchiveContext.cs
- BinaryCommonClasses.cs
- SID.cs
- GeneralTransform3DTo2D.cs
- BitmapData.cs
- ServiceDiscoveryBehavior.cs
- SecurityTraceRecordHelper.cs
- LoadedOrUnloadedOperation.cs
- CursorInteropHelper.cs
- SoapReflector.cs
- PropertyChangingEventArgs.cs
- EventsTab.cs
- GridPattern.cs
- WinOEToolBoxItem.cs
- ArithmeticException.cs
- MimeAnyImporter.cs
- RemoteWebConfigurationHost.cs