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
- ViewCellSlot.cs
- SHA256Cng.cs
- SqlBulkCopy.cs
- ProtectedConfigurationProviderCollection.cs
- FragmentNavigationEventArgs.cs
- DbModificationCommandTree.cs
- ClientScriptManager.cs
- XmlToDatasetMap.cs
- ServicesUtilities.cs
- TaiwanLunisolarCalendar.cs
- XmlSchemaSimpleTypeList.cs
- XmlMemberMapping.cs
- IisTraceListener.cs
- CqlQuery.cs
- Constants.cs
- AssertSection.cs
- BitHelper.cs
- SessionStateItemCollection.cs
- AsyncWaitHandle.cs
- FlowLayoutSettings.cs
- StrokeNodeData.cs
- DataControlImageButton.cs
- _ConnectStream.cs
- Int32CollectionConverter.cs
- ToggleProviderWrapper.cs
- CacheDependency.cs
- BufferedStream.cs
- XPathNavigatorReader.cs
- QuadraticBezierSegment.cs
- URLBuilder.cs
- AutoGeneratedField.cs
- DbParameterCollection.cs
- CuspData.cs
- UInt16.cs
- XamlToRtfWriter.cs
- FreezableCollection.cs
- UserControlBuildProvider.cs
- ReadOnlyDataSourceView.cs
- MaterializeFromAtom.cs
- SqlErrorCollection.cs
- ForwardPositionQuery.cs
- XmlSchemaValidationException.cs
- CodeSubDirectory.cs
- Subtract.cs
- FixedSOMPageElement.cs
- DataGridViewDataErrorEventArgs.cs
- ConnectionStringsExpressionBuilder.cs
- GB18030Encoding.cs
- EditingCommands.cs
- ServiceOperationListItem.cs
- JsonSerializer.cs
- TaskForm.cs
- DataGridViewTopRowAccessibleObject.cs
- InkPresenterAutomationPeer.cs
- SecurityContext.cs
- MgmtConfigurationRecord.cs
- UserInitiatedNavigationPermission.cs
- Point3D.cs
- XPathSelectionIterator.cs
- SqlLiftWhereClauses.cs
- XmlWellformedWriterHelpers.cs
- NonVisualControlAttribute.cs
- StorageTypeMapping.cs
- DesignerAdapterUtil.cs
- VSWCFServiceContractGenerator.cs
- Compress.cs
- BasicCellRelation.cs
- _Semaphore.cs
- ConnectionManagementElement.cs
- ProtocolsConfiguration.cs
- ParameterRetriever.cs
- LassoSelectionBehavior.cs
- IndexedGlyphRun.cs
- EmbeddedMailObjectsCollection.cs
- XmlIgnoreAttribute.cs
- NetWebProxyFinder.cs
- MetadataArtifactLoaderResource.cs
- ObjectViewEntityCollectionData.cs
- VirtualPathUtility.cs
- ProgressBar.cs
- ReadWriteSpinLock.cs
- NumberFunctions.cs
- SolidBrush.cs
- FlatButtonAppearance.cs
- HexParser.cs
- SQLInt64Storage.cs
- LassoHelper.cs
- ButtonRenderer.cs
- SyndicationContent.cs
- InvalidDocumentContentsException.cs
- Keywords.cs
- EventDescriptor.cs
- XmlSchemaComplexContentRestriction.cs
- TreeNodeBindingCollection.cs
- Schema.cs
- PropertyPathWorker.cs
- Rule.cs
- InstanceOwnerQueryResult.cs
- QilExpression.cs
- DbException.cs