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
- BrowserDefinitionCollection.cs
- WpfWebRequestHelper.cs
- AppDomainCompilerProxy.cs
- ReaderOutput.cs
- SqlTypeConverter.cs
- SelectionPattern.cs
- DispatcherFrame.cs
- PropertyConverter.cs
- CanonicalFontFamilyReference.cs
- CollectionType.cs
- EntityCommandDefinition.cs
- EmptyQuery.cs
- Misc.cs
- BypassElement.cs
- Keywords.cs
- UxThemeWrapper.cs
- HtmlTableCellCollection.cs
- ClientSettingsStore.cs
- ManagedWndProcTracker.cs
- ElementMarkupObject.cs
- ProxyWebPartConnectionCollection.cs
- AsyncResult.cs
- DataGridViewCellPaintingEventArgs.cs
- EncryptedPackageFilter.cs
- XmlSchemaAnnotation.cs
- DataGridViewBand.cs
- Freezable.cs
- WebChannelFactory.cs
- XmlSubtreeReader.cs
- PropertyNames.cs
- MatrixAnimationBase.cs
- OracleBinary.cs
- Screen.cs
- _HeaderInfoTable.cs
- XmlSortKeyAccumulator.cs
- OperatorExpressions.cs
- XPathChildIterator.cs
- FrameworkElement.cs
- TableCellAutomationPeer.cs
- WindowProviderWrapper.cs
- TableLayoutPanelBehavior.cs
- UdpSocketReceiveManager.cs
- NumberFormatInfo.cs
- DataSetUtil.cs
- ValidatingReaderNodeData.cs
- ViewStateModeByIdAttribute.cs
- ConfigWriter.cs
- InlineObject.cs
- SecureEnvironment.cs
- DbConnectionPoolGroup.cs
- TextEditorParagraphs.cs
- ToolStripItemClickedEventArgs.cs
- OutputCache.cs
- Timer.cs
- TableItemPattern.cs
- XmlEnumAttribute.cs
- CardSpaceException.cs
- CacheChildrenQuery.cs
- MailHeaderInfo.cs
- QilName.cs
- FindCriteriaElement.cs
- HandleCollector.cs
- SoapAttributeAttribute.cs
- Axis.cs
- HttpResponse.cs
- XmlTextEncoder.cs
- DocumentViewer.cs
- GridSplitter.cs
- xsdvalidator.cs
- ListCommandEventArgs.cs
- PolyLineSegment.cs
- odbcmetadatacolumnnames.cs
- ComEventsHelper.cs
- SourceFilter.cs
- LambdaCompiler.ControlFlow.cs
- Margins.cs
- ContextDataSourceView.cs
- CollectionViewGroupInternal.cs
- QualifiedId.cs
- TypeConverterHelper.cs
- OrderingInfo.cs
- BlockCollection.cs
- StretchValidation.cs
- EndpointBehaviorElementCollection.cs
- StringToken.cs
- FixedHyperLink.cs
- MembershipPasswordException.cs
- TextDocumentView.cs
- ObjectPropertyMapping.cs
- BinaryUtilClasses.cs
- ThousandthOfEmRealDoubles.cs
- TableLayout.cs
- Glyph.cs
- SafeViewOfFileHandle.cs
- XPathDocumentBuilder.cs
- VirtualPath.cs
- PathNode.cs
- SQLBinaryStorage.cs
- LocalizationParserHooks.cs
- OleAutBinder.cs