Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1305376 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- DropShadowBitmapEffect.cs
- HTMLTagNameToTypeMapper.cs
- SchemaImporterExtensionsSection.cs
- odbcmetadatacollectionnames.cs
- QualificationDataAttribute.cs
- CodeFieldReferenceExpression.cs
- ComboBoxItem.cs
- ReflectionHelper.cs
- BaseTemplateBuildProvider.cs
- AssemblyBuilder.cs
- RuntimeIdentifierPropertyAttribute.cs
- SizeChangedInfo.cs
- DependencyPropertyKind.cs
- TreeNodeConverter.cs
- RowToParametersTransformer.cs
- ExpressionBuilder.cs
- XmlHierarchicalDataSourceView.cs
- NetworkInterface.cs
- DataServicePagingProviderWrapper.cs
- BrushConverter.cs
- ExtendedPropertyDescriptor.cs
- Vector3DAnimationUsingKeyFrames.cs
- Attachment.cs
- PointAnimationUsingPath.cs
- OleDbEnumerator.cs
- Random.cs
- MetadataProperty.cs
- DBCommandBuilder.cs
- ImageInfo.cs
- Manipulation.cs
- TextAnchor.cs
- WindowsSpinner.cs
- PasswordDeriveBytes.cs
- ListenerConnectionDemuxer.cs
- ScopeElement.cs
- TripleDES.cs
- PageCatalogPartDesigner.cs
- BasicExpandProvider.cs
- DirectoryInfo.cs
- ConditionalWeakTable.cs
- SqlSelectClauseBuilder.cs
- basevalidator.cs
- ManipulationPivot.cs
- TriggerBase.cs
- RefreshEventArgs.cs
- NavigateEvent.cs
- DictionaryEditChange.cs
- ProgressBar.cs
- RadioButtonFlatAdapter.cs
- Point3D.cs
- VerticalAlignConverter.cs
- RuntimeConfigurationRecord.cs
- Size.cs
- WorkItem.cs
- ControlSerializer.cs
- SafePEFileHandle.cs
- MetadataArtifactLoaderResource.cs
- LogicalExpressionEditor.cs
- ChainOfResponsibility.cs
- StdValidatorsAndConverters.cs
- ListBoxItemAutomationPeer.cs
- Package.cs
- FacetDescriptionElement.cs
- ToolStripItemTextRenderEventArgs.cs
- InputScopeAttribute.cs
- QueryableDataSourceView.cs
- Padding.cs
- WebBrowserContainer.cs
- LogManagementAsyncResult.cs
- CodeAccessPermission.cs
- IsolationInterop.cs
- AsyncPostBackErrorEventArgs.cs
- ActivityMetadata.cs
- xmlformatgeneratorstatics.cs
- BrowserInteropHelper.cs
- PropertyTab.cs
- XmlnsCache.cs
- DataGridColumnCollectionEditor.cs
- CustomError.cs
- ControlSerializer.cs
- ServiceContractGenerator.cs
- wmiprovider.cs
- TimeoutValidationAttribute.cs
- UniqueConstraint.cs
- ElapsedEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- SoapReflectionImporter.cs
- DocumentApplication.cs
- Metadata.cs
- ClickablePoint.cs
- SqlDataSourceRefreshSchemaForm.cs
- WindowShowOrOpenTracker.cs
- ClientReliableChannelBinder.cs
- BrushMappingModeValidation.cs
- ConsoleKeyInfo.cs
- ControlPropertyNameConverter.cs
- HttpProfileGroupBase.cs
- FontSizeConverter.cs
- Storyboard.cs
- RelatedCurrencyManager.cs