Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CreatingCookieEventArgs.cs
- TemplateControlParser.cs
- PaintValueEventArgs.cs
- DataRowComparer.cs
- TreeNodeMouseHoverEvent.cs
- TextChangedEventArgs.cs
- TextAction.cs
- HyperLinkDataBindingHandler.cs
- WebPartZoneBase.cs
- PropertyGridEditorPart.cs
- TextWriter.cs
- NamespaceCollection.cs
- DetailsViewDeletedEventArgs.cs
- WebBaseEventKeyComparer.cs
- RadioButton.cs
- TcpActivation.cs
- StorageModelBuildProvider.cs
- LocalValueEnumerator.cs
- MD5.cs
- XmlResolver.cs
- DependencyObjectType.cs
- EventData.cs
- UserControlParser.cs
- TextFormatter.cs
- LineBreak.cs
- WebPartVerbsEventArgs.cs
- AttributeParameterInfo.cs
- AttributeSetAction.cs
- SingleAnimationBase.cs
- CharUnicodeInfo.cs
- ExpandedWrapper.cs
- SynchronizationLockException.cs
- NumberFormatter.cs
- DateTimeAutomationPeer.cs
- Collection.cs
- RequestStatusBarUpdateEventArgs.cs
- DataRecordObjectView.cs
- ScaleTransform.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataControlPagerLinkButton.cs
- EdmProviderManifest.cs
- SoapReflectionImporter.cs
- GroupPartitionExpr.cs
- EntityContainerEntitySet.cs
- DataSvcMapFile.cs
- _ScatterGatherBuffers.cs
- WebPartRestoreVerb.cs
- Menu.cs
- Odbc32.cs
- ItemCheckEvent.cs
- ZipIOLocalFileDataDescriptor.cs
- UrlPath.cs
- CurrencyWrapper.cs
- ReceiveCompletedEventArgs.cs
- FileDialogPermission.cs
- FreeFormDesigner.cs
- Visual.cs
- TypeHelper.cs
- TimeoutValidationAttribute.cs
- MetadataWorkspace.cs
- WebControl.cs
- DataContractJsonSerializerOperationBehavior.cs
- MethodRental.cs
- LabelEditEvent.cs
- DbRetry.cs
- PostBackOptions.cs
- Panel.cs
- graph.cs
- ResourcePermissionBase.cs
- LoginCancelEventArgs.cs
- InvalidOperationException.cs
- ProgressBar.cs
- WindowsRebar.cs
- BitmapFrame.cs
- HMACMD5.cs
- HostingEnvironment.cs
- ExpressionPrinter.cs
- sqlser.cs
- WeakHashtable.cs
- SqlCommandBuilder.cs
- SqlOuterApplyReducer.cs
- TableDesigner.cs
- ProtocolsConfiguration.cs
- Attribute.cs
- LocalizationComments.cs
- GeneralTransform3DGroup.cs
- EventDescriptor.cs
- DataContractSerializerOperationGenerator.cs
- StickyNote.cs
- LocatorPartList.cs
- EntityClientCacheEntry.cs
- NegationPusher.cs
- SqlBuilder.cs
- PreviewControlDesigner.cs
- util.cs
- StorageScalarPropertyMapping.cs
- PerfService.cs
- TextEditorCharacters.cs
- ScriptHandlerFactory.cs
- FontFaceLayoutInfo.cs