Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilBinary.cs / 1305376 / QilBinary.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having two children. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilBinary : QilNode { private QilNode left, right; //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilBinary(QilNodeType nodeType, QilNode left, QilNode right) : base(nodeType) { this.left = left; this.right = right; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 2; } } public override QilNode this[int index] { get { switch (index) { case 0: return this.left; case 1: return this.right; default: throw new IndexOutOfRangeException(); } } set { switch (index) { case 0: this.left = value; break; case 1: this.right = value; break; default: throw new IndexOutOfRangeException(); } } } //----------------------------------------------- // QilBinary methods //----------------------------------------------- public QilNode Left { get { return this.left; } set { this.left = value; } } public QilNode Right { get { return this.right; } set { this.right = 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
- PropertyDescriptor.cs
- KeyboardDevice.cs
- MDIControlStrip.cs
- ResourceSetExpression.cs
- ManifestBasedResourceGroveler.cs
- ViewValidator.cs
- InputDevice.cs
- Error.cs
- SecurityRuntime.cs
- RangeBase.cs
- ClientFactory.cs
- SafeSecurityHelper.cs
- WindowsScrollBarBits.cs
- ResourceKey.cs
- NativeMethods.cs
- DES.cs
- ArrayList.cs
- TypeListConverter.cs
- DataGridColumnFloatingHeader.cs
- RuntimeWrappedException.cs
- RefreshPropertiesAttribute.cs
- IndexedWhereQueryOperator.cs
- XmlNotation.cs
- StylusTip.cs
- XmlSerializerNamespaces.cs
- HtmlEncodedRawTextWriter.cs
- TypefaceCollection.cs
- SpeechSynthesizer.cs
- FixedTextContainer.cs
- RelativeSource.cs
- RelationshipNavigation.cs
- FamilyMap.cs
- FocusWithinProperty.cs
- TdsParser.cs
- BamlLocalizableResourceKey.cs
- RuntimeVariableList.cs
- TemplateEditingVerb.cs
- TypeElement.cs
- XslAst.cs
- SqlDuplicator.cs
- ToolStripLocationCancelEventArgs.cs
- OrderPreservingPipeliningMergeHelper.cs
- BuilderInfo.cs
- LinqDataSourceHelper.cs
- SqlTypeSystemProvider.cs
- RectAnimationUsingKeyFrames.cs
- CodePrimitiveExpression.cs
- Calendar.cs
- CreateUserErrorEventArgs.cs
- SourceElementsCollection.cs
- OracleCommandBuilder.cs
- StringFreezingAttribute.cs
- DbDataAdapter.cs
- VisualState.cs
- BinaryHeap.cs
- JavaScriptString.cs
- MultiBindingExpression.cs
- TreeNodeStyle.cs
- IndependentlyAnimatedPropertyMetadata.cs
- TreeChangeInfo.cs
- InheritanceContextChangedEventManager.cs
- QueuedDeliveryRequirementsMode.cs
- CounterSampleCalculator.cs
- X509ScopedServiceCertificateElement.cs
- MSG.cs
- GridEntry.cs
- Debugger.cs
- WindowManager.cs
- UrlSyndicationContent.cs
- CustomAttribute.cs
- SimpleHandlerBuildProvider.cs
- VisualProxy.cs
- ToolStripContainerDesigner.cs
- WebBrowserSiteBase.cs
- UICuesEvent.cs
- ResXBuildProvider.cs
- VarInfo.cs
- PhysicalAddress.cs
- AccessorTable.cs
- elementinformation.cs
- CellConstant.cs
- NetSectionGroup.cs
- QuotedPairReader.cs
- RouteItem.cs
- DataGridCommandEventArgs.cs
- CodeAccessSecurityEngine.cs
- SafeCryptContextHandle.cs
- MaskedTextBoxDesignerActionList.cs
- ProgressBarHighlightConverter.cs
- PrimitiveCodeDomSerializer.cs
- PerfCounterSection.cs
- EncryptedKey.cs
- BorderGapMaskConverter.cs
- DateTimeFormatInfo.cs
- MouseCaptureWithinProperty.cs
- SqlConnectionPoolProviderInfo.cs
- M3DUtil.cs
- smtppermission.cs
- TreeView.cs
- AccessibleObject.cs