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
- WebConfigManager.cs
- EmptyEnumerable.cs
- _SslSessionsCache.cs
- InfoCardRSACryptoProvider.cs
- ListDictionary.cs
- CommandHelper.cs
- XmlDeclaration.cs
- ResourcesChangeInfo.cs
- VSWCFServiceContractGenerator.cs
- Tracer.cs
- ControlIdConverter.cs
- RadioButtonBaseAdapter.cs
- ColumnPropertiesGroup.cs
- InternalSafeNativeMethods.cs
- BindingContext.cs
- SmiMetaDataProperty.cs
- CapabilitiesAssignment.cs
- Label.cs
- PartitionerStatic.cs
- Span.cs
- Pen.cs
- AuthenticateEventArgs.cs
- ValueTypeFixupInfo.cs
- DataServiceRequestOfT.cs
- XamlHttpHandlerFactory.cs
- ColorPalette.cs
- TrustManagerMoreInformation.cs
- Point3DConverter.cs
- StrongName.cs
- SafeCloseHandleCritical.cs
- TrackingMemoryStream.cs
- WhitespaceReader.cs
- HttpResponseInternalWrapper.cs
- BulletChrome.cs
- Activation.cs
- UserPersonalizationStateInfo.cs
- MergePropertyDescriptor.cs
- MessagePropertyVariants.cs
- WebScriptMetadataMessageEncoderFactory.cs
- GZipStream.cs
- UInt16.cs
- RepeaterItemCollection.cs
- ErrorWrapper.cs
- TickBar.cs
- Win32Native.cs
- Brush.cs
- InvalidOleVariantTypeException.cs
- VariableAction.cs
- PanelStyle.cs
- EntityContainer.cs
- DataTableNewRowEvent.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- GroupQuery.cs
- XmlCharType.cs
- ProgressPage.cs
- MulticastIPAddressInformationCollection.cs
- ToolStripItem.cs
- TransformFinalBlockRequest.cs
- DateRangeEvent.cs
- TextRangeBase.cs
- DataTrigger.cs
- QuaternionKeyFrameCollection.cs
- ObjectItemLoadingSessionData.cs
- bidPrivateBase.cs
- Filter.cs
- WebFormsRootDesigner.cs
- UnsafeNetInfoNativeMethods.cs
- CustomErrorsSection.cs
- ZipPackagePart.cs
- DrawingGroup.cs
- Group.cs
- ContentControl.cs
- Restrictions.cs
- TraceLevelHelper.cs
- GeometryModel3D.cs
- SpecularMaterial.cs
- SecurityElement.cs
- DataGridViewCellCollection.cs
- SspiWrapper.cs
- Renderer.cs
- CodeParameterDeclarationExpression.cs
- ImageMetadata.cs
- SqlBinder.cs
- SQLResource.cs
- MexNamedPipeBindingCollectionElement.cs
- PointF.cs
- TypeBrowser.xaml.cs
- RequestCache.cs
- DynamicPropertyReader.cs
- ListControlDataBindingHandler.cs
- PropertyOverridesTypeEditor.cs
- FormDesigner.cs
- Win32.cs
- TreeBuilderBamlTranslator.cs
- BufferedGraphicsManager.cs
- CookieHandler.cs
- RoutedUICommand.cs
- PageAsyncTask.cs
- DataObjectFieldAttribute.cs