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
- RegexCompilationInfo.cs
- PolicyLevel.cs
- ActivityTrace.cs
- ScrollContentPresenter.cs
- QueueSurrogate.cs
- ConvertersCollection.cs
- _ChunkParse.cs
- SystemThemeKey.cs
- WizardPanelChangingEventArgs.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- Size.cs
- BaseParaClient.cs
- FormViewPagerRow.cs
- HttpCacheVaryByContentEncodings.cs
- HyperLinkColumn.cs
- AttachInfo.cs
- DataGridViewTopRowAccessibleObject.cs
- IRCollection.cs
- Focus.cs
- SQLGuid.cs
- X500Name.cs
- TransformConverter.cs
- AssemblyCollection.cs
- RegexWriter.cs
- SQLBytesStorage.cs
- WaitHandle.cs
- ListControlDesigner.cs
- Partitioner.cs
- ExpressionPrefixAttribute.cs
- TableCell.cs
- TraceHandlerErrorFormatter.cs
- Journal.cs
- AuthorizationSection.cs
- WSSecurityTokenSerializer.cs
- SafeWaitHandle.cs
- _CookieModule.cs
- SspiWrapper.cs
- PinnedBufferMemoryStream.cs
- MappingSource.cs
- Thread.cs
- InternalTransaction.cs
- ImageAnimator.cs
- DataSetSchema.cs
- XmlDataSourceView.cs
- PerformanceCounterManager.cs
- WebHttpSecurityModeHelper.cs
- DecoderBestFitFallback.cs
- CodeMemberField.cs
- BuildProvider.cs
- RelatedCurrencyManager.cs
- XmlSchemaSimpleContentRestriction.cs
- SymbolType.cs
- InvalidContentTypeException.cs
- FileNotFoundException.cs
- CellCreator.cs
- ArithmeticException.cs
- ListBindingConverter.cs
- MSAAWinEventWrap.cs
- InkCanvasFeedbackAdorner.cs
- DigitShape.cs
- ListBindingHelper.cs
- UniqueEventHelper.cs
- SynchronizationLockException.cs
- CompensationDesigner.cs
- HttpTransportBindingElement.cs
- InputBuffer.cs
- GridViewColumnCollectionChangedEventArgs.cs
- LayoutSettings.cs
- MaskedTextProvider.cs
- FontNameEditor.cs
- UnsafeMethods.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Parameter.cs
- SiteMapNodeItemEventArgs.cs
- TimelineClockCollection.cs
- PingReply.cs
- Mutex.cs
- ApplicationManager.cs
- StringBlob.cs
- ModifiableIteratorCollection.cs
- TemplateComponentConnector.cs
- CurrentChangedEventManager.cs
- GPPOINT.cs
- BasicHttpSecurity.cs
- StringTraceRecord.cs
- References.cs
- StrokeSerializer.cs
- DataGridViewCellStyleConverter.cs
- CaseInsensitiveComparer.cs
- HttpPostedFileWrapper.cs
- TransformerConfigurationWizardBase.cs
- Image.cs
- DecimalMinMaxAggregationOperator.cs
- SplitContainerDesigner.cs
- MenuItem.cs
- LockRecoveryTask.cs
- PersonalizationStateInfo.cs
- XamlFilter.cs
- CachedPathData.cs
- HostingEnvironmentSection.cs