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 QilFactory .
///
internal class QilTargetType : QilBinary {
//-----------------------------------------------
// Constructor
//-----------------------------------------------
///
/// 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 QilFactory .
///
internal class QilTargetType : QilBinary {
//-----------------------------------------------
// Constructor
//-----------------------------------------------
///
/// 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
- xdrvalidator.cs
- TerminateSequence.cs
- ConnectionsZone.cs
- FileDialog_Vista_Interop.cs
- TdsParserSafeHandles.cs
- Evidence.cs
- ScriptMethodAttribute.cs
- PartialClassGenerationTaskInternal.cs
- ProfileSettings.cs
- DefinitionUpdate.cs
- BufferAllocator.cs
- LogicalChannel.cs
- WorkflowServiceHost.cs
- xdrvalidator.cs
- ScopelessEnumAttribute.cs
- UnicodeEncoding.cs
- Parameter.cs
- TransformedBitmap.cs
- SoapReflectionImporter.cs
- WebConfigurationManager.cs
- SoapInteropTypes.cs
- GridPattern.cs
- ListViewDataItem.cs
- ChannelDispatcher.cs
- DisableDpiAwarenessAttribute.cs
- DataControlFieldCollection.cs
- SemanticResolver.cs
- InvalidDataException.cs
- PingOptions.cs
- ActiveXHelper.cs
- DocumentApplication.cs
- TrimSurroundingWhitespaceAttribute.cs
- ModifiableIteratorCollection.cs
- DesignerTransactionCloseEvent.cs
- IntegerFacetDescriptionElement.cs
- FrameworkContentElement.cs
- InboundActivityHelper.cs
- BackEase.cs
- RangeValueProviderWrapper.cs
- ArrowControl.xaml.cs
- RedistVersionInfo.cs
- UnauthorizedWebPart.cs
- CodeCommentStatementCollection.cs
- TextTreeInsertElementUndoUnit.cs
- PriorityItem.cs
- __Error.cs
- XmlCustomFormatter.cs
- RemotingConfigParser.cs
- ConnectionInterfaceCollection.cs
- List.cs
- HuffmanTree.cs
- MasterPageBuildProvider.cs
- CreateUserWizardStep.cs
- LoginDesignerUtil.cs
- TreeNodeEventArgs.cs
- WorkflowMessageEventHandler.cs
- WebPartCollection.cs
- precedingsibling.cs
- InvariantComparer.cs
- RegexGroup.cs
- ApplicationManager.cs
- TextContainerChangedEventArgs.cs
- NamespaceMapping.cs
- SpecularMaterial.cs
- MatrixTransform3D.cs
- mediaclock.cs
- ActivationArguments.cs
- InvalidAsynchronousStateException.cs
- ThaiBuddhistCalendar.cs
- ApplicationInterop.cs
- DefaultTextStore.cs
- DataSourceSelectArguments.cs
- TextRunCacheImp.cs
- DefaultMemberAttribute.cs
- PhonemeEventArgs.cs
- SelectingProviderEventArgs.cs
- MULTI_QI.cs
- FontDriver.cs
- ErrorRuntimeConfig.cs
- Int32Storage.cs
- DecimalMinMaxAggregationOperator.cs
- TextServicesCompartmentEventSink.cs
- DescendantOverDescendantQuery.cs
- GorillaCodec.cs
- BCLDebug.cs
- ConstructorArgumentAttribute.cs
- NavigationEventArgs.cs
- XmlSchemaSequence.cs
- RecordConverter.cs
- UrlMappingsSection.cs
- ConvertersCollection.cs
- RewritingProcessor.cs
- CompilerGeneratedAttribute.cs
- MethodBody.cs
- EllipseGeometry.cs
- RolePrincipal.cs
- BindingManagerDataErrorEventArgs.cs
- datacache.cs
- TypeNameConverter.cs
- BuildProvider.cs