Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1305376 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the statements to be executed within the loop. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the statements to be executed within the loop. /// ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkerRequest.cs
- ToolboxItemCollection.cs
- unitconverter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SoapExtensionReflector.cs
- XmlNullResolver.cs
- XmlUtil.cs
- StreamGeometryContext.cs
- Transform3D.cs
- FileSystemWatcher.cs
- LinkLabel.cs
- ListBox.cs
- XmlSchemaObject.cs
- ReadOnlyDataSourceView.cs
- XmlSchemaSet.cs
- RecordsAffectedEventArgs.cs
- RowToFieldTransformer.cs
- HttpRuntime.cs
- ExpressionTable.cs
- ElementsClipboardData.cs
- DecimalAnimation.cs
- LongValidator.cs
- SqlDeflator.cs
- ReliabilityContractAttribute.cs
- DeclarativeConditionsCollection.cs
- SamlAction.cs
- MimeMultiPart.cs
- EdmSchemaError.cs
- TreeView.cs
- SerialErrors.cs
- OutOfProcStateClientManager.cs
- TextSimpleMarkerProperties.cs
- ClientSideQueueItem.cs
- WizardPanel.cs
- LocalServiceSecuritySettings.cs
- InputQueueChannelAcceptor.cs
- ItemType.cs
- TransactionValidationBehavior.cs
- ToolStripSeparator.cs
- SmtpLoginAuthenticationModule.cs
- DesignerTransactionCloseEvent.cs
- EventLogTraceListener.cs
- CellPartitioner.cs
- AutomationElementCollection.cs
- NamespaceEmitter.cs
- Atom10FormatterFactory.cs
- ISO2022Encoding.cs
- ProxyWebPart.cs
- ConstructorBuilder.cs
- BitVector32.cs
- ResourceBinder.cs
- ObjectTag.cs
- ToolStripPanelRenderEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- HtmlInputCheckBox.cs
- OleDbErrorCollection.cs
- HuffmanTree.cs
- relpropertyhelper.cs
- Font.cs
- SubclassTypeValidatorAttribute.cs
- StringSorter.cs
- RangeBaseAutomationPeer.cs
- Int32CollectionValueSerializer.cs
- TextModifier.cs
- TaiwanLunisolarCalendar.cs
- CngProvider.cs
- WebPartHelpVerb.cs
- Context.cs
- XmlNamespaceManager.cs
- Logging.cs
- LoginName.cs
- DrawTreeNodeEventArgs.cs
- TypeDelegator.cs
- PagedDataSource.cs
- CalloutQueueItem.cs
- Events.cs
- ProviderUtil.cs
- FamilyMap.cs
- TreeView.cs
- ListItemConverter.cs
- RegexMatch.cs
- AbandonedMutexException.cs
- WebPartDisplayModeEventArgs.cs
- Clipboard.cs
- TileBrush.cs
- ObjectKeyFrameCollection.cs
- PinnedBufferMemoryStream.cs
- EditingCommands.cs
- ConfigurationSection.cs
- Clipboard.cs
- DataGridColumnStyleMappingNameEditor.cs
- DataControlLinkButton.cs
- BufferModesCollection.cs
- ToolStripDropDownMenu.cs
- HttpException.cs
- AddInControllerImpl.cs
- XmlIgnoreAttribute.cs
- HttpCapabilitiesEvaluator.cs
- PopupRootAutomationPeer.cs
- CryptoApi.cs