Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilIterator.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ControlCollection.cs
- ComponentGuaranteesAttribute.cs
- Compilation.cs
- SapiInterop.cs
- XmlLoader.cs
- OptimalTextSource.cs
- ButtonFlatAdapter.cs
- Win32.cs
- SqlGatherConsumedAliases.cs
- TdsParserHelperClasses.cs
- TransformerTypeCollection.cs
- GlobalizationAssembly.cs
- Facet.cs
- ValueQuery.cs
- SlipBehavior.cs
- LongValidatorAttribute.cs
- Light.cs
- OleDbSchemaGuid.cs
- TimeSpanStorage.cs
- ConstrainedDataObject.cs
- DeflateStreamAsyncResult.cs
- OnOperation.cs
- UIElementAutomationPeer.cs
- DocumentOrderComparer.cs
- PropertyGroupDescription.cs
- WpfWebRequestHelper.cs
- GroupQuery.cs
- ContainerAction.cs
- PreloadedPackages.cs
- InheritanceContextHelper.cs
- XsdDuration.cs
- OracleTransaction.cs
- CatalogPartChrome.cs
- BindingWorker.cs
- Utils.cs
- FrameworkContentElementAutomationPeer.cs
- NamespaceQuery.cs
- DataGridRowHeader.cs
- XmlNamespaceMapping.cs
- latinshape.cs
- SuppressIldasmAttribute.cs
- StatusBarAutomationPeer.cs
- TreeBuilderXamlTranslator.cs
- KeyEvent.cs
- ScriptReferenceBase.cs
- SelectionProcessor.cs
- MeasureItemEvent.cs
- loginstatus.cs
- EdmProviderManifest.cs
- EventEntry.cs
- StringCollection.cs
- ScriptReference.cs
- PageAdapter.cs
- TransformConverter.cs
- TypeDescriptionProvider.cs
- x509store.cs
- QuotedPrintableStream.cs
- ResourcePool.cs
- DataObjectFieldAttribute.cs
- ConfigsHelper.cs
- AccessedThroughPropertyAttribute.cs
- WmpBitmapDecoder.cs
- QuaternionValueSerializer.cs
- DataProtection.cs
- QueryOutputWriter.cs
- DataShape.cs
- COMException.cs
- ConfigXmlComment.cs
- HighlightComponent.cs
- MachineKeyConverter.cs
- AsyncCompletedEventArgs.cs
- BindableTemplateBuilder.cs
- IntegerValidatorAttribute.cs
- COM2ExtendedUITypeEditor.cs
- EntityDataSourceColumn.cs
- SafeProcessHandle.cs
- SettingsAttributes.cs
- CompilerState.cs
- WebPartConnectionCollection.cs
- XmlUtilWriter.cs
- cache.cs
- VerificationAttribute.cs
- EdmToObjectNamespaceMap.cs
- RegistrySecurity.cs
- MSAANativeProvider.cs
- ImageUrlEditor.cs
- KeyValuePairs.cs
- Row.cs
- UnicastIPAddressInformationCollection.cs
- DataServiceBehavior.cs
- SqlUdtInfo.cs
- MissingFieldException.cs
- HttpProtocolReflector.cs
- Utilities.cs
- PropertyDescriptorComparer.cs
- ObjectStateEntryDbDataRecord.cs
- securitycriticaldataformultiplegetandset.cs
- AttributeSetAction.cs
- ConfigurationErrorsException.cs
- XmlAttributes.cs