Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeIterationStatement : CodeStatement { private CodeStatement initStatement; private CodeExpression testExpression; private CodeStatement incrementStatement; private CodeStatementCollection statements = new CodeStatementCollection(); ////// Represents a simple for loop. /// ////// public CodeIterationStatement() { } ////// Initializes a new instance of ///. /// /// public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) { InitStatement = initStatement; TestExpression = testExpression; IncrementStatement = incrementStatement; Statements.AddRange(statements); } ////// Initializes a new instance of ///. /// /// public CodeStatement InitStatement { get { return initStatement; } set { initStatement = value; } } ////// Gets or sets /// the loop initialization statement. /// ////// public CodeExpression TestExpression { get { return testExpression; } set { testExpression = value; } } ////// Gets or sets /// the expression to test for. /// ////// public CodeStatement IncrementStatement { get { return incrementStatement; } set { incrementStatement = value; } } ////// Gets or sets /// the per loop cycle increment statement. /// ////// public CodeStatementCollection Statements { get { return statements; } } } }/// Gets or sets /// the statements to be executed within the loop. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemParameters.cs
- ProjectionPath.cs
- ComPlusInstanceProvider.cs
- EncodingTable.cs
- CellTreeNodeVisitors.cs
- TraceSection.cs
- WebPartZone.cs
- DocumentApplicationJournalEntry.cs
- AddressAccessDeniedException.cs
- Keyboard.cs
- DockProviderWrapper.cs
- StreamedFramingRequestChannel.cs
- DictionarySectionHandler.cs
- Helper.cs
- DictionaryBase.cs
- FigureParagraph.cs
- cookiecollection.cs
- SoundPlayer.cs
- DynamicResourceExtensionConverter.cs
- MouseEvent.cs
- TabControlEvent.cs
- ColorComboBox.cs
- SettingsProperty.cs
- HuffmanTree.cs
- DbBuffer.cs
- XmlSubtreeReader.cs
- Transaction.cs
- TransformGroup.cs
- PolyBezierSegment.cs
- ByteStreamMessageEncoder.cs
- BasicExpandProvider.cs
- OLEDB_Util.cs
- DrawingDrawingContext.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ListChunk.cs
- DateRangeEvent.cs
- ManualResetEvent.cs
- FileDialog.cs
- MetadataPropertyvalue.cs
- GridViewDeleteEventArgs.cs
- LogStream.cs
- DataGridViewSelectedCellCollection.cs
- XamlPoint3DCollectionSerializer.cs
- InputScope.cs
- EntityCommandCompilationException.cs
- WindowsFormsHostAutomationPeer.cs
- MiniConstructorInfo.cs
- KeyValueConfigurationElement.cs
- UrlAuthFailedErrorFormatter.cs
- Select.cs
- DoWorkEventArgs.cs
- CqlQuery.cs
- BuildProviderAppliesToAttribute.cs
- InkCanvasInnerCanvas.cs
- CopyEncoder.cs
- TemplateEditingFrame.cs
- XPathNavigator.cs
- MailSettingsSection.cs
- Transform.cs
- SplitterDesigner.cs
- basenumberconverter.cs
- RelationshipEnd.cs
- OptimalBreakSession.cs
- DataGridViewCellStyle.cs
- DynamicValidatorEventArgs.cs
- MetadataWorkspace.cs
- _SingleItemRequestCache.cs
- Thumb.cs
- NameGenerator.cs
- ProfileModule.cs
- ExtensibleClassFactory.cs
- PDBReader.cs
- BuildProvider.cs
- X509CertificateChain.cs
- SqlDependencyUtils.cs
- ObjectParameterCollection.cs
- OracleCommandSet.cs
- ListBindableAttribute.cs
- ZoomPercentageConverter.cs
- InputBinder.cs
- WebPartZoneDesigner.cs
- DataGridViewIntLinkedList.cs
- Floater.cs
- ReferenceConverter.cs
- MethodCallTranslator.cs
- SendingRequestEventArgs.cs
- RadioButtonRenderer.cs
- DocumentPageHost.cs
- JournalEntry.cs
- SerTrace.cs
- ProcessInfo.cs
- SmiEventStream.cs
- MenuStrip.cs
- SqlParameter.cs
- BindMarkupExtensionSerializer.cs
- ApplicationHost.cs
- HttpCookie.cs
- TypeInitializationException.cs
- ValidationError.cs
- ObjectDataSourceEventArgs.cs