Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ObjectQuery.cs
- XmlSchemaComplexType.cs
- AQNBuilder.cs
- WriteableOnDemandPackagePart.cs
- InvokeHandlers.cs
- HttpRequestCacheValidator.cs
- ResourceManagerWrapper.cs
- EntityWrapper.cs
- WinEventHandler.cs
- DataBindingValueUIHandler.cs
- GridViewPageEventArgs.cs
- JoinSymbol.cs
- ThicknessAnimationBase.cs
- TypeDescriptionProvider.cs
- GridViewRowPresenterBase.cs
- HttpConfigurationContext.cs
- BooleanExpr.cs
- CodeObject.cs
- PathSegmentCollection.cs
- CounterSet.cs
- EntityDataSourceColumn.cs
- DataGridRowsPresenter.cs
- Memoizer.cs
- StringSource.cs
- DataControlButton.cs
- DbSetClause.cs
- UpdateDelegates.Generated.cs
- MessageBodyDescription.cs
- TabControlEvent.cs
- TransactionInterop.cs
- Utils.cs
- OdbcCommand.cs
- ExtendedPropertyCollection.cs
- TextTreeNode.cs
- DataSourceControlBuilder.cs
- Activation.cs
- UpdatePanelTriggerCollection.cs
- PreviousTrackingServiceAttribute.cs
- HwndAppCommandInputProvider.cs
- InputGestureCollection.cs
- SByte.cs
- AutoResetEvent.cs
- CharUnicodeInfo.cs
- CallId.cs
- sqlmetadatafactory.cs
- GifBitmapDecoder.cs
- FormCollection.cs
- ListControl.cs
- PagesChangedEventArgs.cs
- StringFunctions.cs
- ProxyElement.cs
- FixedSOMFixedBlock.cs
- FontUnit.cs
- CustomExpression.cs
- PointIndependentAnimationStorage.cs
- XmlBoundElement.cs
- DrawingGroupDrawingContext.cs
- MailAddress.cs
- RelationshipEndMember.cs
- ExceptionHelpers.cs
- WsatServiceAddress.cs
- UrlMappingsSection.cs
- GridViewHeaderRowPresenter.cs
- DataGridViewCellValidatingEventArgs.cs
- WindowsTab.cs
- CommandLineParser.cs
- ActivityMarkupSerializationProvider.cs
- TextFindEngine.cs
- MethodCallConverter.cs
- RoleGroupCollection.cs
- ReferenceEqualityComparer.cs
- GregorianCalendarHelper.cs
- BaseValidatorDesigner.cs
- WindowShowOrOpenTracker.cs
- SafeNativeMethodsCLR.cs
- dataprotectionpermission.cs
- KeyValueInternalCollection.cs
- VisualBasicDesignerHelper.cs
- ConfigurationValue.cs
- ObjectStateManagerMetadata.cs
- ControlAdapter.cs
- CustomTypeDescriptor.cs
- ParserHooks.cs
- EntityDataSourceEntitySetNameItem.cs
- DataRelationPropertyDescriptor.cs
- SettingsPropertyIsReadOnlyException.cs
- GridViewRowEventArgs.cs
- ExpressionBuilder.cs
- MatrixAnimationUsingKeyFrames.cs
- PermissionAttributes.cs
- PropertyMap.cs
- FocusTracker.cs
- StructuralCache.cs
- HttpCookieCollection.cs
- DataListItemCollection.cs
- DocumentOrderQuery.cs
- ScrollChrome.cs
- XmlEntityReference.cs
- CalendarAutomationPeer.cs
- CollectionDataContractAttribute.cs