Code:
/ FX-1434 / FX-1434 / 1.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
- DiscoveryService.cs
- TemplateInstanceAttribute.cs
- ParameterElementCollection.cs
- DBDataPermission.cs
- SecurityUtils.cs
- FixedFlowMap.cs
- EnumerableRowCollectionExtensions.cs
- DefaultMergeHelper.cs
- TextViewSelectionProcessor.cs
- XmlReaderSettings.cs
- DoubleConverter.cs
- XmlSecureResolver.cs
- StylusPointProperty.cs
- ValidationError.cs
- AuthorizationRule.cs
- XmlCustomFormatter.cs
- SweepDirectionValidation.cs
- XmlSchemaParticle.cs
- ResXResourceWriter.cs
- ToggleProviderWrapper.cs
- SecurityDocument.cs
- CodeComment.cs
- XmlDataContract.cs
- DatatypeImplementation.cs
- LoginUtil.cs
- ToolStripCodeDomSerializer.cs
- CompilerInfo.cs
- Crc32.cs
- GridViewAutoFormat.cs
- LogicalTreeHelper.cs
- FlowLayout.cs
- CommonObjectSecurity.cs
- XmlSignificantWhitespace.cs
- PtsContext.cs
- DataSourceSelectArguments.cs
- XPathQilFactory.cs
- EventDescriptorCollection.cs
- InkCanvasFeedbackAdorner.cs
- Misc.cs
- RemotingSurrogateSelector.cs
- basecomparevalidator.cs
- DllNotFoundException.cs
- JavascriptCallbackBehaviorAttribute.cs
- ImageSourceConverter.cs
- PageHandlerFactory.cs
- StateDesigner.TransitionInfo.cs
- Choices.cs
- MobileFormsAuthentication.cs
- HtmlTableCellCollection.cs
- BitmapEffectGroup.cs
- TreeNodeStyleCollection.cs
- FormatVersion.cs
- LookupBindingPropertiesAttribute.cs
- HtmlAnchor.cs
- InvalidOleVariantTypeException.cs
- DataTableReaderListener.cs
- PagerStyle.cs
- NavigationProperty.cs
- ComponentChangedEvent.cs
- CompositeDispatchFormatter.cs
- FileChangesMonitor.cs
- _FtpDataStream.cs
- PolyBezierSegment.cs
- XmlHelper.cs
- BitmapEffectDrawingContextWalker.cs
- HttpCacheVaryByContentEncodings.cs
- ItemCheckedEvent.cs
- CapabilitiesState.cs
- Schema.cs
- SchemaElementLookUpTable.cs
- ResourcesBuildProvider.cs
- UnsafeCollabNativeMethods.cs
- PropertyItem.cs
- BindingCollection.cs
- HttpWriter.cs
- SimpleMailWebEventProvider.cs
- HtmlAnchor.cs
- MetadataItem.cs
- TraceProvider.cs
- XmlDictionaryString.cs
- ScrollEventArgs.cs
- _UncName.cs
- InteropBitmapSource.cs
- CellConstantDomain.cs
- SizeConverter.cs
- DesignerVerbCollection.cs
- FlowDocumentPage.cs
- InsufficientExecutionStackException.cs
- SoapAttributes.cs
- MainMenu.cs
- WebPartZoneCollection.cs
- versioninfo.cs
- DataSourceXmlTextReader.cs
- WebPartDisplayModeCancelEventArgs.cs
- WebRequestModuleElement.cs
- TableProviderWrapper.cs
- PropertyToken.cs
- CurrentChangingEventArgs.cs
- CryptoApi.cs
- LinqExpressionNormalizer.cs