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
- Environment.cs
- TypeInitializationException.cs
- ModelToObjectValueConverter.cs
- CodeGotoStatement.cs
- XmlAnyElementAttributes.cs
- DisplayInformation.cs
- TextShapeableCharacters.cs
- XmlDataProvider.cs
- ConfigXmlAttribute.cs
- isolationinterop.cs
- ConsoleTraceListener.cs
- TextAnchor.cs
- AddInActivator.cs
- SmuggledIUnknown.cs
- HtmlForm.cs
- ControlValuePropertyAttribute.cs
- FunctionGenerator.cs
- ArglessEventHandlerProxy.cs
- DataGridHelper.cs
- DrawingAttributeSerializer.cs
- Ops.cs
- BaseCollection.cs
- MimeTypeAttribute.cs
- contentDescriptor.cs
- NamedObject.cs
- DependencyProperty.cs
- ProfileEventArgs.cs
- MultiSelectRootGridEntry.cs
- CollectionMarkupSerializer.cs
- KoreanCalendar.cs
- SectionInformation.cs
- DataGridSortingEventArgs.cs
- CodeExporter.cs
- SBCSCodePageEncoding.cs
- IgnoreFileBuildProvider.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WindowsStatic.cs
- Odbc32.cs
- FragmentQuery.cs
- DBAsyncResult.cs
- WindowsStreamSecurityBindingElement.cs
- __Error.cs
- URLString.cs
- ColorIndependentAnimationStorage.cs
- Assert.cs
- ParameterEditorUserControl.cs
- SurrogateEncoder.cs
- RoleService.cs
- Propagator.Evaluator.cs
- BulletedListDesigner.cs
- QEncodedStream.cs
- UnsafeNativeMethods.cs
- IriParsingElement.cs
- VerbConverter.cs
- WebDisplayNameAttribute.cs
- XsdDateTime.cs
- WindowsTooltip.cs
- NetCodeGroup.cs
- StaticContext.cs
- AuthorizationRuleCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- DataControlField.cs
- elementinformation.cs
- TableStyle.cs
- Pair.cs
- TargetFrameworkUtil.cs
- NegatedCellConstant.cs
- DataGridViewToolTip.cs
- WeakReference.cs
- DetailsViewInsertedEventArgs.cs
- ProtectedProviderSettings.cs
- HighlightVisual.cs
- PolyQuadraticBezierSegment.cs
- SchemaElement.cs
- SqlProfileProvider.cs
- DesignerAttribute.cs
- XPathEmptyIterator.cs
- EditableRegion.cs
- ReadOnlyNameValueCollection.cs
- RenderTargetBitmap.cs
- BuildProvidersCompiler.cs
- Ref.cs
- DataGridTablesFactory.cs
- ControlBuilder.cs
- AttributeQuery.cs
- LocatorGroup.cs
- MemberMemberBinding.cs
- ResourceAttributes.cs
- CodeCastExpression.cs
- StatusBarPanelClickEvent.cs
- NameTable.cs
- SingleStorage.cs
- Subtree.cs
- SafeMILHandle.cs
- HttpModuleActionCollection.cs
- EtwTrace.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TriState.cs
- PartitionResolver.cs
- RequestCache.cs