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
- RepeaterItem.cs
- AttachedProperty.cs
- HtmlInputButton.cs
- HttpListenerTimeoutManager.cs
- XmlSchemaNotation.cs
- RawMouseInputReport.cs
- ScriptModule.cs
- DataControlFieldCell.cs
- OutKeywords.cs
- Tokenizer.cs
- DataSourceSelectArguments.cs
- CompositeFontParser.cs
- ConcurrentStack.cs
- DetailsViewInsertEventArgs.cs
- UnsafeNativeMethods.cs
- Point3DKeyFrameCollection.cs
- MethodBuilder.cs
- UTF8Encoding.cs
- EntityStoreSchemaFilterEntry.cs
- DataSourceXmlAttributeAttribute.cs
- TemplateColumn.cs
- Globals.cs
- ApplicationCommands.cs
- TextContainerHelper.cs
- BuildProviderCollection.cs
- ProtocolsConfiguration.cs
- WeakRefEnumerator.cs
- ActivityExecutionFilter.cs
- DataObject.cs
- DependencyPropertyAttribute.cs
- ClockController.cs
- WebDisplayNameAttribute.cs
- Light.cs
- ListMarkerLine.cs
- TcpServerChannel.cs
- EventData.cs
- BasicAsyncResult.cs
- OpenTypeCommon.cs
- ZipPackagePart.cs
- WebPartVerb.cs
- CompositeClientFormatter.cs
- TransformConverter.cs
- TextEditorParagraphs.cs
- InProcStateClientManager.cs
- PlainXmlDeserializer.cs
- WinFormsSpinner.cs
- SiteMapNodeCollection.cs
- ActionItem.cs
- XpsPartBase.cs
- TableLayoutPanelResizeGlyph.cs
- GlyphTypeface.cs
- KeyedHashAlgorithm.cs
- TemplateBamlRecordReader.cs
- OuterGlowBitmapEffect.cs
- coordinatorfactory.cs
- _LazyAsyncResult.cs
- Number.cs
- StandardCommands.cs
- PrinterUnitConvert.cs
- BaseHashHelper.cs
- SemaphoreSecurity.cs
- parserscommon.cs
- EdmValidator.cs
- FastEncoder.cs
- ZipIOBlockManager.cs
- Triplet.cs
- WorkflowMarkupElementEventArgs.cs
- XPathPatternParser.cs
- DataChangedEventManager.cs
- MonitoringDescriptionAttribute.cs
- PagedDataSource.cs
- ResourceDescriptionAttribute.cs
- HtmlElement.cs
- Imaging.cs
- CursorEditor.cs
- MimeTypeMapper.cs
- TextRangeEditLists.cs
- SqlRowUpdatingEvent.cs
- SecurityTokenReferenceStyle.cs
- FloatUtil.cs
- ReadOnlyHierarchicalDataSource.cs
- ToolStripContentPanelRenderEventArgs.cs
- XslException.cs
- HotSpotCollectionEditor.cs
- HtmlTableCell.cs
- SqlProcedureAttribute.cs
- ImageMetadata.cs
- XmlCDATASection.cs
- LinqDataSourceInsertEventArgs.cs
- InternalConfigSettingsFactory.cs
- XmlQueryRuntime.cs
- CustomCategoryAttribute.cs
- CodeTypeParameter.cs
- CanonicalizationDriver.cs
- Transform3D.cs
- SchemaManager.cs
- ComponentManagerBroker.cs
- SemanticValue.cs
- DashStyles.cs
- KnownBoxes.cs