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
- SqlParameterCollection.cs
- BitStack.cs
- ConnectionPointCookie.cs
- SqlGenericUtil.cs
- Trace.cs
- SqlDataSourceConfigureSelectPanel.cs
- ExpressionNode.cs
- SmtpReplyReaderFactory.cs
- OpenTypeLayout.cs
- XmlSchemaSimpleContent.cs
- BindingManagerDataErrorEventArgs.cs
- EntityTransaction.cs
- TextRangeSerialization.cs
- Message.cs
- UnsafeNativeMethods.cs
- RangeBase.cs
- DataGridItem.cs
- AncestorChangedEventArgs.cs
- Int32CollectionConverter.cs
- HtmlMobileTextWriter.cs
- RuleProcessor.cs
- XmlException.cs
- Error.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- NoClickablePointException.cs
- PixelFormatConverter.cs
- HtmlContainerControl.cs
- _TLSstream.cs
- DocumentPageViewAutomationPeer.cs
- XmlSubtreeReader.cs
- PropertyPath.cs
- PersistChildrenAttribute.cs
- ValueSerializer.cs
- CollectionBuilder.cs
- DefaultBinder.cs
- XmlSchemaException.cs
- safemediahandle.cs
- LZCodec.cs
- Asn1IntegerConverter.cs
- PrtTicket_Base.cs
- Positioning.cs
- DataGridViewControlCollection.cs
- PtsContext.cs
- GridItemProviderWrapper.cs
- SettingsBindableAttribute.cs
- ContractTypeNameCollection.cs
- RuntimeVariableList.cs
- VBCodeProvider.cs
- ClassHandlersStore.cs
- XmlTextWriter.cs
- DataBoundControlAdapter.cs
- MessageSecurityOverMsmqElement.cs
- QilXmlReader.cs
- CheckBox.cs
- AssertValidation.cs
- RuntimeConfigurationRecord.cs
- cryptoapiTransform.cs
- QuaternionIndependentAnimationStorage.cs
- CodeCatchClause.cs
- FactoryGenerator.cs
- DataGridViewTextBoxColumn.cs
- StringAnimationBase.cs
- ServicePoint.cs
- RealizedColumnsBlock.cs
- MetadataArtifactLoaderCompositeResource.cs
- DependencyObjectType.cs
- DataAccessor.cs
- RuntimeWrappedException.cs
- DesignerWidgets.cs
- QilBinary.cs
- SQLInt64.cs
- InputLanguageCollection.cs
- SecureUICommand.cs
- WorkflowItemPresenter.cs
- HijriCalendar.cs
- RemotingException.cs
- PropertyDescriptor.cs
- MethodBody.cs
- CodeTypeReferenceExpression.cs
- SemaphoreFullException.cs
- EntityDesignPluralizationHandler.cs
- MarginCollapsingState.cs
- SimpleHandlerBuildProvider.cs
- FormatException.cs
- HostVisual.cs
- TiffBitmapDecoder.cs
- Setter.cs
- TextCompositionManager.cs
- TextCompositionManager.cs
- XmlILOptimizerVisitor.cs
- MappedMetaModel.cs
- CodeChecksumPragma.cs
- PrinterUnitConvert.cs
- ToolStripDropDownClosingEventArgs.cs
- ColorMap.cs
- RegexNode.cs
- InfoCardXmlSerializer.cs
- RectAnimationUsingKeyFrames.cs
- FontCacheUtil.cs
- RegexBoyerMoore.cs