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
- VisualBrush.cs
- FlowLayout.cs
- Application.cs
- TextDecorationCollection.cs
- VirtualPathUtility.cs
- WindowsGraphicsWrapper.cs
- DateTimeUtil.cs
- SimpleHandlerFactory.cs
- Point3DCollectionValueSerializer.cs
- CommandHelper.cs
- Comparer.cs
- OrderedDictionary.cs
- Window.cs
- DelegateSerializationHolder.cs
- WizardPanel.cs
- HyperLinkStyle.cs
- InvokeMethodActivityDesigner.cs
- HandlerFactoryCache.cs
- StoryFragments.cs
- DetailsViewDeleteEventArgs.cs
- LinkClickEvent.cs
- ProfilePropertyNameValidator.cs
- PackagingUtilities.cs
- ALinqExpressionVisitor.cs
- SplitterCancelEvent.cs
- DelegatingMessage.cs
- AspNetHostingPermission.cs
- Events.cs
- DateTimeOffsetConverter.cs
- FloaterParaClient.cs
- CheckBoxRenderer.cs
- COM2Enum.cs
- IndentTextWriter.cs
- SiteMapNodeItem.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ChtmlTextWriter.cs
- KnownTypesProvider.cs
- ConstrainedDataObject.cs
- DecimalConverter.cs
- MappingItemCollection.cs
- BaseParaClient.cs
- PageFunction.cs
- CustomActivityDesigner.cs
- AuthorizationPolicyTypeElement.cs
- InfoCardRSACryptoProvider.cs
- AssemblyInfo.cs
- X509CertificateClaimSet.cs
- VirtualDirectoryMapping.cs
- PixelFormatConverter.cs
- FtpRequestCacheValidator.cs
- ConfigsHelper.cs
- CursorEditor.cs
- BitmapEffectState.cs
- EpmTargetTree.cs
- wmiutil.cs
- MouseActionConverter.cs
- TraceSwitch.cs
- WebPartsPersonalization.cs
- StopStoryboard.cs
- SessionStateSection.cs
- Bidi.cs
- AssociationTypeEmitter.cs
- ApplicationSettingsBase.cs
- _NegoStream.cs
- TextElementEditingBehaviorAttribute.cs
- Range.cs
- CheckBoxAutomationPeer.cs
- BamlRecordReader.cs
- PasswordPropertyTextAttribute.cs
- ListControl.cs
- SqlMethodTransformer.cs
- DES.cs
- ValueQuery.cs
- EditorPartCollection.cs
- precedingquery.cs
- EntityDataSourceView.cs
- DesignerActionMethodItem.cs
- BamlStream.cs
- EdmError.cs
- NavigationFailedEventArgs.cs
- GridEntryCollection.cs
- BaseTemplateBuildProvider.cs
- HttpListenerContext.cs
- SpecularMaterial.cs
- ISAPIWorkerRequest.cs
- TabControlEvent.cs
- CompilerState.cs
- RuntimeUtils.cs
- LinqDataSourceInsertEventArgs.cs
- HtmlInputReset.cs
- XPathQueryGenerator.cs
- PageAsyncTask.cs
- SqlCachedBuffer.cs
- XmlCustomFormatter.cs
- backend.cs
- OdbcCommandBuilder.cs
- SolidBrush.cs
- ArraySortHelper.cs
- StrokeSerializer.cs
- ServiceDesigner.cs