Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the statements to be executed within the loop. /// ///// 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; } } } } // 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
- TreeNodeClickEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- ElementFactory.cs
- CodeTypeDeclarationCollection.cs
- XmlName.cs
- InputScopeNameConverter.cs
- BufferedWebEventProvider.cs
- LogWriteRestartAreaAsyncResult.cs
- TrackBarRenderer.cs
- GridViewSelectEventArgs.cs
- TextProperties.cs
- ElementProxy.cs
- DocumentSequence.cs
- QilGenerator.cs
- QilName.cs
- ProvidePropertyAttribute.cs
- MsmqEncryptionAlgorithm.cs
- DataSpaceManager.cs
- GetPageCompletedEventArgs.cs
- Window.cs
- MasterPage.cs
- IDispatchConstantAttribute.cs
- RSAPKCS1SignatureFormatter.cs
- DataStorage.cs
- ItemContainerGenerator.cs
- DataKey.cs
- Graphics.cs
- DataRow.cs
- HiddenFieldDesigner.cs
- IOException.cs
- TcpProcessProtocolHandler.cs
- WebHttpDispatchOperationSelectorData.cs
- PropertyDescriptor.cs
- FormsAuthenticationCredentials.cs
- DataGridRow.cs
- XmlHierarchyData.cs
- OdbcConnectionPoolProviderInfo.cs
- ToolStripDropDownItem.cs
- KnownBoxes.cs
- NativeMethods.cs
- DateTimeOffset.cs
- ChannelFactoryRefCache.cs
- ListMarkerLine.cs
- ComboBox.cs
- Errors.cs
- FileDataSourceCache.cs
- SafeHGlobalHandleCritical.cs
- ListBoxItemWrapperAutomationPeer.cs
- XmlDownloadManager.cs
- IsolatedStorageFileStream.cs
- Triangle.cs
- DesignerActionKeyboardBehavior.cs
- DynamicValidator.cs
- EpmContentSerializer.cs
- SudsCommon.cs
- StyleModeStack.cs
- ContentPosition.cs
- NameValueFileSectionHandler.cs
- DataPagerField.cs
- MatrixKeyFrameCollection.cs
- BitFlagsGenerator.cs
- Suspend.cs
- PatternMatcher.cs
- SoapMessage.cs
- ObjectListDataBindEventArgs.cs
- ExecutionContext.cs
- Helpers.cs
- ItemMap.cs
- DrawListViewSubItemEventArgs.cs
- SchemaMerger.cs
- RegexMatch.cs
- EventPropertyMap.cs
- TextTrailingWordEllipsis.cs
- SimpleBitVector32.cs
- HttpResponseWrapper.cs
- followingsibling.cs
- Calendar.cs
- DateBoldEvent.cs
- RSAPKCS1SignatureDeformatter.cs
- LoggedException.cs
- UserNameSecurityTokenAuthenticator.cs
- EmptyElement.cs
- XmlValidatingReaderImpl.cs
- ToolTip.cs
- ListViewHitTestInfo.cs
- XmlSerializerNamespaces.cs
- TypeUtils.cs
- Column.cs
- XamlReaderHelper.cs
- VisualTreeUtils.cs
- XmlSchemaNotation.cs
- AdRotator.cs
- StateWorkerRequest.cs
- IMembershipProvider.cs
- XXXOnTypeBuilderInstantiation.cs
- ObjectDataSourceFilteringEventArgs.cs
- ControlBindingsConverter.cs
- EUCJPEncoding.cs
- ContentTextAutomationPeer.cs
- GroupDescription.cs