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
- TemplateColumn.cs
- ManifestResourceInfo.cs
- XmlNamespaceManager.cs
- InputLanguageSource.cs
- CustomExpression.cs
- PaintEvent.cs
- CodeTypeReferenceExpression.cs
- DifferencingCollection.cs
- ReferenceTypeElement.cs
- SqlCommand.cs
- XmlComment.cs
- DataGridRowHeaderAutomationPeer.cs
- RegexWorker.cs
- ValidationSummary.cs
- ToolboxComponentsCreatingEventArgs.cs
- JsonWriterDelegator.cs
- PropertyPathConverter.cs
- PostBackTrigger.cs
- WebPartEventArgs.cs
- ListViewSelectEventArgs.cs
- BuildResult.cs
- UMPAttributes.cs
- SRGSCompiler.cs
- ProviderConnectionPointCollection.cs
- WhiteSpaceTrimStringConverter.cs
- ValidationEventArgs.cs
- NotImplementedException.cs
- MaskedTextBoxTextEditorDropDown.cs
- SettingsContext.cs
- HttpDictionary.cs
- BaseInfoTable.cs
- QueryStatement.cs
- DefaultExpressionVisitor.cs
- FullTextLine.cs
- CheckPair.cs
- NotSupportedException.cs
- DotExpr.cs
- securitymgrsite.cs
- CodeStatementCollection.cs
- ProfileServiceManager.cs
- MultilineStringConverter.cs
- SchemaAttDef.cs
- DataGridTextBoxColumn.cs
- SqlDataSourceAdvancedOptionsForm.cs
- MessagePropertyDescriptionCollection.cs
- ExpressionConverter.cs
- UInt16.cs
- Exceptions.cs
- TrackBar.cs
- EventHandlerService.cs
- DBSchemaRow.cs
- PartDesigner.cs
- ConfigurationSection.cs
- XmlDataSource.cs
- MethodMessage.cs
- DocumentAutomationPeer.cs
- URL.cs
- AsyncStreamReader.cs
- AuthenticationService.cs
- TextDecoration.cs
- SqlUtil.cs
- MatrixConverter.cs
- StoreAnnotationsMap.cs
- PlainXmlSerializer.cs
- UTF7Encoding.cs
- HGlobalSafeHandle.cs
- ObjectViewEntityCollectionData.cs
- CompilationRelaxations.cs
- WindowsSolidBrush.cs
- CompilerCollection.cs
- GlobalEventManager.cs
- SevenBitStream.cs
- CodeDelegateCreateExpression.cs
- DoWorkEventArgs.cs
- VarRefManager.cs
- CollectionViewSource.cs
- MetadataSource.cs
- WebSysDisplayNameAttribute.cs
- XslNumber.cs
- TemplateComponentConnector.cs
- SiblingIterators.cs
- StylusEditingBehavior.cs
- ProfileSection.cs
- MembershipAdapter.cs
- ResourceSetExpression.cs
- XmlEventCache.cs
- PeerFlooder.cs
- PropertyGridEditorPart.cs
- GZipUtils.cs
- SqlGenericUtil.cs
- XmlSiteMapProvider.cs
- ParallelEnumerableWrapper.cs
- ConnectionProviderAttribute.cs
- XmlWrappingWriter.cs
- StylusOverProperty.cs
- filewebresponse.cs
- ConfigurationSchemaErrors.cs
- WsdlImporterElement.cs
- DesignerGeometryHelper.cs
- DataGridParentRows.cs