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
- TableLayoutRowStyleCollection.cs
- odbcmetadatacollectionnames.cs
- DataControlPagerLinkButton.cs
- EntityDataSourceConfigureObjectContext.cs
- bindurihelper.cs
- NonParentingControl.cs
- EntityFrameworkVersions.cs
- Camera.cs
- ServiceMemoryGates.cs
- HorizontalAlignConverter.cs
- SymLanguageType.cs
- InfoCardTraceRecord.cs
- MenuCommandService.cs
- PropertyDescriptor.cs
- InputBinding.cs
- DataGridTablesFactory.cs
- XslTransform.cs
- IisTraceListener.cs
- Mutex.cs
- LocatorPartList.cs
- Debug.cs
- GeneralTransform.cs
- TypeDependencyAttribute.cs
- XamlToRtfWriter.cs
- HttpWriter.cs
- CodeSnippetCompileUnit.cs
- MultiBindingExpression.cs
- ViewgenGatekeeper.cs
- GeometryDrawing.cs
- WpfKnownTypeInvoker.cs
- ParenthesizePropertyNameAttribute.cs
- DbConnectionStringCommon.cs
- Hashtable.cs
- ITreeGenerator.cs
- EllipseGeometry.cs
- MenuCommand.cs
- BaseTreeIterator.cs
- InputLanguageEventArgs.cs
- Facet.cs
- Hex.cs
- MenuItemStyleCollectionEditor.cs
- ParserStreamGeometryContext.cs
- SqlXml.cs
- WebConfigurationHost.cs
- BindingContext.cs
- ResourcePermissionBaseEntry.cs
- Lease.cs
- CutCopyPasteHelper.cs
- StyleCollection.cs
- ServiceKnownTypeAttribute.cs
- SqlParameterCollection.cs
- DashStyle.cs
- SymbolPair.cs
- State.cs
- TextRangeProviderWrapper.cs
- figurelengthconverter.cs
- TransportManager.cs
- DataObjectEventArgs.cs
- CompilerParameters.cs
- ProjectionQueryOptionExpression.cs
- XmlMembersMapping.cs
- ExpanderAutomationPeer.cs
- BuildDependencySet.cs
- App.cs
- ExpressionConverter.cs
- XmlILStorageConverter.cs
- AnnotationComponentManager.cs
- SchemaElementDecl.cs
- EventData.cs
- ConfigurationManager.cs
- MultiByteCodec.cs
- ValidationRuleCollection.cs
- CatalogPartCollection.cs
- WindowsListViewItem.cs
- WebConvert.cs
- SchemaInfo.cs
- WindowsPrincipal.cs
- HandlerFactoryWrapper.cs
- JsonWriterDelegator.cs
- SqlWebEventProvider.cs
- AssemblyUtil.cs
- StringArrayConverter.cs
- ByteAnimationUsingKeyFrames.cs
- Vertex.cs
- ChoiceConverter.cs
- FillRuleValidation.cs
- GroupByQueryOperator.cs
- LeaseManager.cs
- TableItemPattern.cs
- ListItemCollection.cs
- AppDomainAttributes.cs
- CodeAttributeArgument.cs
- TagPrefixCollection.cs
- GridViewSelectEventArgs.cs
- EntityException.cs
- ListViewGroupItemCollection.cs
- PowerModeChangedEventArgs.cs
- Window.cs
- StatusBarPanel.cs
- UshortList2.cs