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
- RelationshipSet.cs
- PerformanceCounters.cs
- COM2IPerPropertyBrowsingHandler.cs
- DataComponentNameHandler.cs
- ArgumentException.cs
- Query.cs
- LayoutEvent.cs
- DateTimeConstantAttribute.cs
- TextServicesContext.cs
- Mouse.cs
- PartialToken.cs
- TableProviderWrapper.cs
- DataGridItem.cs
- XPathNodeHelper.cs
- PropertyItemInternal.cs
- Rijndael.cs
- BindingExpression.cs
- ValidatorCompatibilityHelper.cs
- Int16Storage.cs
- WindowsUpDown.cs
- AxHost.cs
- DataGridCellClipboardEventArgs.cs
- EntityKey.cs
- BrowserCapabilitiesFactory35.cs
- BuildResultCache.cs
- SmiContextFactory.cs
- OperationResponse.cs
- AutoFocusStyle.xaml.cs
- NativeMethods.cs
- ManipulationDelta.cs
- IgnoreFileBuildProvider.cs
- BindingNavigator.cs
- Lease.cs
- PeerNodeTraceRecord.cs
- TargetConverter.cs
- TaskScheduler.cs
- RangeBase.cs
- CombinedGeometry.cs
- PersonalizationProvider.cs
- X509InitiatorCertificateServiceElement.cs
- OracleEncoding.cs
- SerializationException.cs
- WithParamAction.cs
- EmissiveMaterial.cs
- TextWriterEngine.cs
- TrackingLocationCollection.cs
- ChtmlTextWriter.cs
- ItemType.cs
- __ConsoleStream.cs
- SchemaAttDef.cs
- SourceItem.cs
- PackagePartCollection.cs
- BinHexEncoding.cs
- ReaderWriterLock.cs
- FunctionQuery.cs
- DbConnectionOptions.cs
- TreeNodeCollection.cs
- XmlNamedNodeMap.cs
- NameValueSectionHandler.cs
- DataServiceQueryProvider.cs
- UnionCqlBlock.cs
- PolyLineSegment.cs
- _TransmitFileOverlappedAsyncResult.cs
- UriTemplateDispatchFormatter.cs
- HScrollBar.cs
- ProjectionRewriter.cs
- VirtualPathData.cs
- CompiledIdentityConstraint.cs
- XmlTextAttribute.cs
- TemplateInstanceAttribute.cs
- WSFederationHttpBindingElement.cs
- OrCondition.cs
- Debug.cs
- Calendar.cs
- InternalTypeHelper.cs
- CatalogZone.cs
- ValidatorAttribute.cs
- SqlRetyper.cs
- WebServiceMethodData.cs
- WebPartConnectionsDisconnectVerb.cs
- StructuredType.cs
- DataGridTable.cs
- XmlLanguage.cs
- CellParagraph.cs
- RawAppCommandInputReport.cs
- SoapFault.cs
- TextRangeEditLists.cs
- FlowLayoutSettings.cs
- MobileResource.cs
- RepeatButton.cs
- BitmapDownload.cs
- ThreadAttributes.cs
- QfeChecker.cs
- FocusChangedEventArgs.cs
- WebUtil.cs
- NavigationWindow.cs
- DtdParser.cs
- XslAst.cs
- TileModeValidation.cs
- GridItemProviderWrapper.cs