Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilUnary.cs / 1 / QilUnary.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 one child. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilUnary : QilNode { private QilNode child; //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilUnary(QilNodeType nodeType, QilNode child) : base(nodeType) { this.child = child; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 1; } } public override QilNode this[int index] { get { if (index != 0) throw new IndexOutOfRangeException(); return this.child; } set { if (index != 0) throw new IndexOutOfRangeException(); this.child = value; } } //----------------------------------------------- // QilUnary methods //----------------------------------------------- public QilNode Child { get { return this.child; } set { this.child = 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.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having one child. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilUnary : QilNode { private QilNode child; //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilUnary(QilNodeType nodeType, QilNode child) : base(nodeType) { this.child = child; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 1; } } public override QilNode this[int index] { get { if (index != 0) throw new IndexOutOfRangeException(); return this.child; } set { if (index != 0) throw new IndexOutOfRangeException(); this.child = value; } } //----------------------------------------------- // QilUnary methods //----------------------------------------------- public QilNode Child { get { return this.child; } set { this.child = 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
- QueryableFilterRepeater.cs
- CategoryAttribute.cs
- ObjectHelper.cs
- Style.cs
- ValidationHelpers.cs
- documentsequencetextview.cs
- _DomainName.cs
- DelimitedListTraceListener.cs
- ImplicitInputBrush.cs
- ParseElementCollection.cs
- WebScriptServiceHostFactory.cs
- XPathSelectionIterator.cs
- WinInet.cs
- OutgoingWebRequestContext.cs
- RealizationDrawingContextWalker.cs
- infer.cs
- SecurityHelper.cs
- DataGridViewCellValueEventArgs.cs
- autovalidator.cs
- HtmlPhoneCallAdapter.cs
- PathGeometry.cs
- EntitySqlQueryState.cs
- SafeNativeMethods.cs
- LinkDescriptor.cs
- FtpRequestCacheValidator.cs
- TreeNodeCollectionEditor.cs
- InlineCollection.cs
- AssociationEndMember.cs
- EmptyControlCollection.cs
- SEHException.cs
- DriveNotFoundException.cs
- PathFigureCollection.cs
- XmlSchemaSimpleContent.cs
- UrlMapping.cs
- LabelEditEvent.cs
- AppSettingsExpressionBuilder.cs
- BezierSegment.cs
- AnnotationComponentChooser.cs
- TaiwanCalendar.cs
- mongolianshape.cs
- NonClientArea.cs
- ArgIterator.cs
- TemplateBaseAction.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- TabletDevice.cs
- ButtonStandardAdapter.cs
- DoubleUtil.cs
- CommandConverter.cs
- TextReader.cs
- TrackingRecordPreFilter.cs
- AppliesToBehaviorDecisionTable.cs
- Activator.cs
- TemplateBindingExpression.cs
- ToolStripRendererSwitcher.cs
- CodeSnippetTypeMember.cs
- ImportOptions.cs
- SoundPlayer.cs
- PopupRootAutomationPeer.cs
- OracleDataReader.cs
- AstNode.cs
- ValidationErrorEventArgs.cs
- CodeCastExpression.cs
- EventToken.cs
- TraceSource.cs
- HTMLTagNameToTypeMapper.cs
- _Semaphore.cs
- RelationshipConstraintValidator.cs
- Dynamic.cs
- GeneralTransform3D.cs
- Converter.cs
- SecurityHelper.cs
- AddressHeaderCollection.cs
- RegexCharClass.cs
- TemplateDefinition.cs
- ZipIOLocalFileHeader.cs
- MethodSignatureGenerator.cs
- SqlNotificationRequest.cs
- SamlAudienceRestrictionCondition.cs
- BuildManager.cs
- Guid.cs
- BindingExpressionBase.cs
- UrlMappingsModule.cs
- NameTable.cs
- BooleanAnimationBase.cs
- KeyNotFoundException.cs
- MultiBindingExpression.cs
- AnimationClockResource.cs
- TypeSystem.cs
- FunctionGenerator.cs
- TextDecorationUnitValidation.cs
- GenericsInstances.cs
- WebPartsPersonalization.cs
- ADMembershipProvider.cs
- ToolStripArrowRenderEventArgs.cs
- FullTextLine.cs
- DiscardableAttribute.cs
- TextContainerHelper.cs
- MenuItem.cs
- MinimizableAttributeTypeConverter.cs
- ValueQuery.cs