Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- ResourceDictionaryCollection.cs
- SqlBuilder.cs
- SQLDoubleStorage.cs
- ForwardPositionQuery.cs
- CommentAction.cs
- DBPropSet.cs
- DataGridPreparingCellForEditEventArgs.cs
- FieldTemplateFactory.cs
- PlacementWorkspace.cs
- DesignDataSource.cs
- GridViewUpdateEventArgs.cs
- EntryPointNotFoundException.cs
- ChtmlTextWriter.cs
- HexParser.cs
- OpenTypeLayoutCache.cs
- SqlPersonalizationProvider.cs
- ValueSerializerAttribute.cs
- WebPartConnectVerb.cs
- ScriptReferenceBase.cs
- SoapElementAttribute.cs
- FontFaceLayoutInfo.cs
- ObjectHelper.cs
- ItemCheckEvent.cs
- BitmapSourceSafeMILHandle.cs
- ThreadExceptionDialog.cs
- MulticastOption.cs
- BamlTreeNode.cs
- EntityDataSourceChangingEventArgs.cs
- PauseStoryboard.cs
- JsonUriDataContract.cs
- ThemeDirectoryCompiler.cs
- AccessKeyManager.cs
- ComboBoxRenderer.cs
- MenuItem.cs
- CompiledXpathExpr.cs
- UnsafeNativeMethods.cs
- SecurityRequiresReviewAttribute.cs
- ColorBlend.cs
- ModifierKeysValueSerializer.cs
- DataSourceHelper.cs
- DynamicMethod.cs
- Exception.cs
- NameValueFileSectionHandler.cs
- BitStack.cs
- JoinTreeSlot.cs
- ObjectDataSource.cs
- LocatorPartList.cs
- IgnoreDataMemberAttribute.cs
- xdrvalidator.cs
- FieldToken.cs
- XmlILCommand.cs
- ValidatedMobileControlConverter.cs
- ObjectViewFactory.cs
- SqlWriter.cs
- QuestionEventArgs.cs
- HtmlInputReset.cs
- GeometryCombineModeValidation.cs
- FormatControl.cs
- ChangePassword.cs
- ReferenceEqualityComparer.cs
- CommandCollectionEditor.cs
- ClipboardData.cs
- ProxyHwnd.cs
- XmlSchemaCompilationSettings.cs
- ITreeGenerator.cs
- CalendarDay.cs
- WhitespaceRule.cs
- DependencyObjectPropertyDescriptor.cs
- NamedPipeAppDomainProtocolHandler.cs
- RegexBoyerMoore.cs
- _HeaderInfoTable.cs
- VisualStateManager.cs
- StaticResourceExtension.cs
- EFTableProvider.cs
- ScrollChangedEventArgs.cs
- XmlSchemaComplexType.cs
- RootBuilder.cs
- HtmlObjectListAdapter.cs
- WrappedKeySecurityTokenParameters.cs
- ColorKeyFrameCollection.cs
- TextRunCache.cs
- CompilerCollection.cs
- ImageConverter.cs
- FormDesigner.cs
- PixelShader.cs
- XmlSchemaType.cs
- SoundPlayerAction.cs
- ConfigPathUtility.cs
- CurrencyWrapper.cs
- _NativeSSPI.cs
- SoapIgnoreAttribute.cs
- IResourceProvider.cs
- UserMapPath.cs
- VBCodeProvider.cs
- ModelItemDictionary.cs
- CodeIndexerExpression.cs
- EpmCustomContentDeSerializer.cs
- ProvidersHelper.cs
- HtmlShim.cs
- TypeGeneratedEventArgs.cs