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 / QilIterator.cs / 1 / QilIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil iterator node (For or Let). /// internal class QilIterator : QilReference { private QilNode binding; //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct an iterator /// public QilIterator(QilNodeType nodeType, QilNode binding) : base(nodeType) { Binding = binding; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 1; } } public override QilNode this[int index] { get { if (index != 0) throw new IndexOutOfRangeException(); return this.binding; } set { if (index != 0) throw new IndexOutOfRangeException(); this.binding = value; } } //----------------------------------------------- // QilIterator methods //----------------------------------------------- /// /// Expression which is bound to the iterator. /// public QilNode Binding { get { return this.binding; } set { this.binding = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil iterator node (For or Let). /// internal class QilIterator : QilReference { private QilNode binding; //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct an iterator /// public QilIterator(QilNodeType nodeType, QilNode binding) : base(nodeType) { Binding = binding; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 1; } } public override QilNode this[int index] { get { if (index != 0) throw new IndexOutOfRangeException(); return this.binding; } set { if (index != 0) throw new IndexOutOfRangeException(); this.binding = value; } } //----------------------------------------------- // QilIterator methods //----------------------------------------------- /// /// Expression which is bound to the iterator. /// public QilNode Binding { get { return this.binding; } set { this.binding = 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
- OracleDataAdapter.cs
- ContentPresenter.cs
- AmbientEnvironment.cs
- EntityContainerEntitySetDefiningQuery.cs
- PropertyMap.cs
- ReadOnlyObservableCollection.cs
- ExpressionBinding.cs
- ConfigsHelper.cs
- BasicViewGenerator.cs
- ProfessionalColors.cs
- DataConnectionHelper.cs
- ScrollPattern.cs
- HijriCalendar.cs
- FrameworkTextComposition.cs
- ProcessActivityTreeOptions.cs
- ApplicationException.cs
- UTF7Encoding.cs
- Tile.cs
- HostedNamedPipeTransportManager.cs
- PersistChildrenAttribute.cs
- XmlSchemaSimpleTypeUnion.cs
- XsdCachingReader.cs
- BackgroundFormatInfo.cs
- CommonBehaviorsSection.cs
- FilteredDataSetHelper.cs
- SourceLineInfo.cs
- ResXBuildProvider.cs
- ConnectionsZone.cs
- DesignSurfaceEvent.cs
- ColumnReorderedEventArgs.cs
- _FixedSizeReader.cs
- MetafileHeaderEmf.cs
- DependencyObject.cs
- TemplatingOptionsDialog.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- WindowsToolbar.cs
- LinkLabel.cs
- TypeReference.cs
- FrugalMap.cs
- SystemTcpStatistics.cs
- AutoResetEvent.cs
- XPathMessageContext.cs
- ApplicationId.cs
- EntityDataSourceView.cs
- StructuredTypeEmitter.cs
- Parser.cs
- ProfileProvider.cs
- FixedFindEngine.cs
- ErrorFormatter.cs
- UnsafeNativeMethods.cs
- DisplayNameAttribute.cs
- AppDomainProtocolHandler.cs
- MatchingStyle.cs
- X509ThumbprintKeyIdentifierClause.cs
- InkCanvas.cs
- RightsManagementInformation.cs
- VirtualPath.cs
- LogEntryDeserializer.cs
- TreeViewImageKeyConverter.cs
- ValidationResult.cs
- DataMemberFieldEditor.cs
- ComplexObject.cs
- SqlProcedureAttribute.cs
- ImportDesigner.xaml.cs
- _UriTypeConverter.cs
- CoTaskMemSafeHandle.cs
- MemberInfoSerializationHolder.cs
- FormattedTextSymbols.cs
- LocatorBase.cs
- HiddenField.cs
- PrincipalPermission.cs
- RegexCode.cs
- ConnectionStringSettingsCollection.cs
- ADRole.cs
- ConnectionManagementSection.cs
- ViewRendering.cs
- DoubleUtil.cs
- Int64AnimationBase.cs
- XmlCountingReader.cs
- GenerateHelper.cs
- SchemaManager.cs
- DataGridColumnFloatingHeader.cs
- XamlSerializer.cs
- SessionStateContainer.cs
- documentsequencetextcontainer.cs
- ExtensibleClassFactory.cs
- XmlChildEnumerator.cs
- RegisteredHiddenField.cs
- ProjectionPath.cs
- HitTestWithGeometryDrawingContextWalker.cs
- EdmItemError.cs
- ResourceWriter.cs
- PointLightBase.cs
- X509LogoTypeExtension.cs
- SolidColorBrush.cs
- TargetFrameworkAttribute.cs
- HttpStreams.cs
- FileClassifier.cs
- MouseBinding.cs
- TreeNodeClickEventArgs.cs