Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- configsystem.cs
- StructuredTypeEmitter.cs
- MSG.cs
- ObjectStateFormatter.cs
- JsonUriDataContract.cs
- ChameleonKey.cs
- StylusSystemGestureEventArgs.cs
- ListBox.cs
- InvokeBinder.cs
- AndCondition.cs
- CompModSwitches.cs
- NGCSerializerAsync.cs
- BulletedListEventArgs.cs
- ProcessModelInfo.cs
- ColumnHeader.cs
- UrlMappingsModule.cs
- VBCodeProvider.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CustomCredentialPolicy.cs
- RouteUrlExpressionBuilder.cs
- WasEndpointConfigContainer.cs
- TypedReference.cs
- WebMessageFormatHelper.cs
- RtfControlWordInfo.cs
- InvocationExpression.cs
- BaseValidator.cs
- FaultException.cs
- RemotingSurrogateSelector.cs
- DispatcherExceptionEventArgs.cs
- TextRangeBase.cs
- BasicExpressionVisitor.cs
- AutomationElementIdentifiers.cs
- ExtendedPropertyCollection.cs
- FlowDocumentPaginator.cs
- Dispatcher.cs
- RegexCompiler.cs
- SqlTypeSystemProvider.cs
- ScopedKnownTypes.cs
- CheckableControlBaseAdapter.cs
- DateTimeConstantAttribute.cs
- ApplicationHost.cs
- VirtualizedCellInfoCollection.cs
- IndexingContentUnit.cs
- addressfiltermode.cs
- OAVariantLib.cs
- PixelFormatConverter.cs
- MenuBase.cs
- ImageList.cs
- Image.cs
- PenThread.cs
- TextRunCache.cs
- ProfileSettingsCollection.cs
- DESCryptoServiceProvider.cs
- NativeCompoundFileAPIs.cs
- SpecialNameAttribute.cs
- EntryPointNotFoundException.cs
- EnumerableRowCollection.cs
- DragEvent.cs
- CodeRemoveEventStatement.cs
- ParameterElement.cs
- DefinitionUpdate.cs
- RepeatBehaviorConverter.cs
- DecimalConverter.cs
- Task.cs
- XmlAttributes.cs
- Rect3D.cs
- SQLRoleProvider.cs
- DataGridViewSelectedRowCollection.cs
- TextElementEditingBehaviorAttribute.cs
- _LazyAsyncResult.cs
- CqlLexer.cs
- Drawing.cs
- ModifierKeysConverter.cs
- XmlSchemaComplexType.cs
- assertwrapper.cs
- TickBar.cs
- RbTree.cs
- controlskin.cs
- RoleService.cs
- ApplicationCommands.cs
- QueryCacheManager.cs
- _UriTypeConverter.cs
- CodePageUtils.cs
- DetailsViewRow.cs
- ServiceOperation.cs
- COM2ExtendedUITypeEditor.cs
- NullableLongSumAggregationOperator.cs
- BlobPersonalizationState.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- FormParameter.cs
- CapabilitiesSection.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ExecutedRoutedEventArgs.cs
- SafeMemoryMappedViewHandle.cs
- ArraySortHelper.cs
- DayRenderEvent.cs
- IntranetCredentialPolicy.cs
- SnapLine.cs
- WebScriptMetadataMessageEncoderFactory.cs
- PointConverter.cs