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
- JumpItem.cs
- QuadraticEase.cs
- SqlLiftIndependentRowExpressions.cs
- WebPartManagerDesigner.cs
- TraceContext.cs
- KeyInterop.cs
- BatchParser.cs
- DataGridTextBoxColumn.cs
- RewritingProcessor.cs
- PingReply.cs
- fixedPageContentExtractor.cs
- ProfilePropertyNameValidator.cs
- DefaultProxySection.cs
- ObjectDisposedException.cs
- ListViewAutomationPeer.cs
- InternalConfigConfigurationFactory.cs
- BinaryObjectReader.cs
- SystemNetworkInterface.cs
- ConfigurationManager.cs
- ProfessionalColors.cs
- ContentTextAutomationPeer.cs
- KeySplineConverter.cs
- Dictionary.cs
- ListView.cs
- FacetValues.cs
- HtmlEncodedRawTextWriter.cs
- X509InitiatorCertificateClientElement.cs
- OdbcRowUpdatingEvent.cs
- StylusPlugin.cs
- OdbcUtils.cs
- ProxyWebPartConnectionCollection.cs
- PartitionedStreamMerger.cs
- EventData.cs
- VolatileResourceManager.cs
- SrgsRulesCollection.cs
- DynamicUpdateCommand.cs
- PropertyChangingEventArgs.cs
- DataGridViewRowPrePaintEventArgs.cs
- GroupItemAutomationPeer.cs
- WebPartDisplayModeEventArgs.cs
- Stackframe.cs
- HttpCookieCollection.cs
- TemplateControl.cs
- FtpRequestCacheValidator.cs
- BitmapEffectCollection.cs
- DbQueryCommandTree.cs
- ProvideValueServiceProvider.cs
- MostlySingletonList.cs
- CodeTypeDelegate.cs
- Popup.cs
- ObjectDataSource.cs
- VirtualizingPanel.cs
- GPRECT.cs
- ReliabilityContractAttribute.cs
- MobileResource.cs
- SmtpException.cs
- ComponentResourceKey.cs
- SqlDataSourceSelectingEventArgs.cs
- ChannelSinkStacks.cs
- BinaryFormatterWriter.cs
- PagePropertiesChangingEventArgs.cs
- DescendantQuery.cs
- Compiler.cs
- UndoManager.cs
- GridViewRowEventArgs.cs
- JsonServiceDocumentSerializer.cs
- HtmlInputSubmit.cs
- AssemblyCollection.cs
- DirectoryObjectSecurity.cs
- DESCryptoServiceProvider.cs
- CompositionAdorner.cs
- coordinatorscratchpad.cs
- HtmlElement.cs
- WindowAutomationPeer.cs
- ErrorItem.cs
- SetterBase.cs
- WebPartZoneCollection.cs
- InstanceDescriptor.cs
- smtpconnection.cs
- _UncName.cs
- SQLConvert.cs
- login.cs
- ACE.cs
- SafeTokenHandle.cs
- AutoResetEvent.cs
- UpdateCommandGenerator.cs
- WindowsFormsHostPropertyMap.cs
- EnumValidator.cs
- PublisherIdentityPermission.cs
- AutoGeneratedField.cs
- XmlArrayAttribute.cs
- SmiTypedGetterSetter.cs
- SessionStateSection.cs
- LazyTextWriterCreator.cs
- TemplateInstanceAttribute.cs
- XmlAnyElementAttribute.cs
- DocumentReference.cs
- PriorityQueue.cs
- SmiEventSink_DeferedProcessing.cs
- DataGridViewCellMouseEventArgs.cs