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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DecimalAverageAggregationOperator.cs
- WebDisplayNameAttribute.cs
- IfAction.cs
- PrintPreviewDialog.cs
- PropertyChangedEventManager.cs
- COM2FontConverter.cs
- RemotingConfiguration.cs
- ClientFormsIdentity.cs
- IERequestCache.cs
- WithStatement.cs
- AttributeProviderAttribute.cs
- StateMachine.cs
- RMPublishingDialog.cs
- ConsumerConnectionPointCollection.cs
- XPathAncestorIterator.cs
- RoutedEventHandlerInfo.cs
- Process.cs
- RightsManagementEncryptedStream.cs
- DependencyPropertyChangedEventArgs.cs
- ToolBarButton.cs
- CommonDialog.cs
- ContentControl.cs
- HitTestResult.cs
- PropertyKey.cs
- DataServiceStreamProviderWrapper.cs
- ExpressionBuilder.cs
- XNodeValidator.cs
- Encoding.cs
- ToolStripMenuItemDesigner.cs
- EntityDataReader.cs
- ToolStripItemEventArgs.cs
- XmlDictionaryReaderQuotasElement.cs
- HtmlTitle.cs
- GridViewCommandEventArgs.cs
- ActiveXSite.cs
- TokenizerHelper.cs
- AuthorizationRuleCollection.cs
- EnumConverter.cs
- HttpCachePolicyElement.cs
- WebPartTransformerCollection.cs
- GroupDescription.cs
- columnmapkeybuilder.cs
- TableStyle.cs
- ColorConverter.cs
- TraceContext.cs
- Source.cs
- SqlDataSourceConnectionPanel.cs
- SecuritySessionClientSettings.cs
- SiteMapHierarchicalDataSourceView.cs
- GZipDecoder.cs
- ResourceDictionary.cs
- DataGridPageChangedEventArgs.cs
- WeakReferenceList.cs
- UriScheme.cs
- PenThreadWorker.cs
- ZipIOLocalFileHeader.cs
- ObjectDataSourceMethodEventArgs.cs
- HttpPostedFile.cs
- CodeCommentStatement.cs
- DllHostInitializer.cs
- MasterPageParser.cs
- XmlUtf8RawTextWriter.cs
- FontWeight.cs
- MenuItemStyleCollection.cs
- ListSortDescription.cs
- DoubleUtil.cs
- ToggleButtonAutomationPeer.cs
- ObjectView.cs
- RegexMatchCollection.cs
- TraceXPathNavigator.cs
- ModelService.cs
- UniqueContractNameValidationBehavior.cs
- DependencyStoreSurrogate.cs
- WrappedReader.cs
- GridViewPageEventArgs.cs
- SchemaLookupTable.cs
- Parser.cs
- EntityUtil.cs
- AppDomainUnloadedException.cs
- SchemaCreator.cs
- FlowDocumentView.cs
- DictionaryContent.cs
- DbModificationClause.cs
- PeerCollaboration.cs
- Matrix.cs
- HtmlProps.cs
- CurrentChangingEventManager.cs
- Marshal.cs
- ItemType.cs
- WindowsListView.cs
- QilFunction.cs
- SiteMapDataSource.cs
- CompilerParameters.cs
- CellRelation.cs
- ContentElementAutomationPeer.cs
- DocumentViewer.cs
- XmlDeclaration.cs
- UriTemplateDispatchFormatter.cs
- WindowsRichEdit.cs
- TypeForwardedToAttribute.cs