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
- DataGridViewCell.cs
- SqlParameterizer.cs
- TraceUtility.cs
- SettingsPropertyNotFoundException.cs
- AttributeProviderAttribute.cs
- PointCollection.cs
- ReliableSessionBindingElementImporter.cs
- SrgsText.cs
- DataBindingExpressionBuilder.cs
- StreamReader.cs
- TargetControlTypeCache.cs
- XPathNodeIterator.cs
- JavascriptCallbackResponseProperty.cs
- DynamicDiscoveryDocument.cs
- FunctionDescription.cs
- DebugHandleTracker.cs
- QilGenerator.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MenuBindingsEditor.cs
- SchemaMerger.cs
- FunctionMappingTranslator.cs
- XMLSyntaxException.cs
- ChannelPoolSettings.cs
- CommandLineParser.cs
- LinearQuaternionKeyFrame.cs
- mda.cs
- RenderDataDrawingContext.cs
- _ProxyChain.cs
- DataSvcMapFile.cs
- IConvertible.cs
- DataRelationCollection.cs
- SeekableReadStream.cs
- CancelRequestedQuery.cs
- JsonUriDataContract.cs
- SimplePropertyEntry.cs
- ExpandableObjectConverter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- WindowsImpersonationContext.cs
- TypeContext.cs
- NamedObject.cs
- ZipPackage.cs
- RequestCache.cs
- DeadCharTextComposition.cs
- SerializationSectionGroup.cs
- RNGCryptoServiceProvider.cs
- DragStartedEventArgs.cs
- NGCPageContentSerializerAsync.cs
- NativeMethods.cs
- MappingException.cs
- XmlDataLoader.cs
- TypeSemantics.cs
- ConfigurationStrings.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SingleResultAttribute.cs
- ADConnectionHelper.cs
- DiscoveryDocument.cs
- StringUtil.cs
- Rotation3D.cs
- ScriptingRoleServiceSection.cs
- securitycriticaldata.cs
- VirtualPath.cs
- Cursor.cs
- Form.cs
- ImageMap.cs
- SchemaElementDecl.cs
- RecipientInfo.cs
- FormDesigner.cs
- SchemaDeclBase.cs
- HttpHandlerActionCollection.cs
- XmlArrayItemAttributes.cs
- NetworkInformationException.cs
- MemberDescriptor.cs
- WebSysDisplayNameAttribute.cs
- BCryptHashAlgorithm.cs
- BrowserCapabilitiesCompiler.cs
- TraversalRequest.cs
- TypeListConverter.cs
- RectangleF.cs
- CharacterHit.cs
- BuildProviderAppliesToAttribute.cs
- Certificate.cs
- EntityDataSourceContextCreatedEventArgs.cs
- ServicesSection.cs
- DebugControllerThread.cs
- OracleConnectionStringBuilder.cs
- XPSSignatureDefinition.cs
- CallInfo.cs
- RegisteredDisposeScript.cs
- SQLResource.cs
- DesignerPerfEventProvider.cs
- RoutedPropertyChangedEventArgs.cs
- XmlSchemaAppInfo.cs
- RTLAwareMessageBox.cs
- Soap12FormatExtensions.cs
- IssuanceLicense.cs
- UmAlQuraCalendar.cs
- ToolStripContainer.cs
- HierarchicalDataBoundControlAdapter.cs
- DataListItemCollection.cs
- RepeaterItemEventArgs.cs