Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1305376 / 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;
///
///
/// Represents a simple for loop.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeIterationStatement : CodeStatement {
private CodeStatement initStatement;
private CodeExpression testExpression;
private CodeStatement incrementStatement;
private CodeStatementCollection statements = new CodeStatementCollection();
///
///
/// Initializes a new instance of .
///
///
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);
}
///
///
/// Gets or sets
/// the loop initialization statement.
///
///
public CodeStatement InitStatement {
get {
return initStatement;
}
set {
initStatement = value;
}
}
///
///
/// Gets or sets
/// the expression to test for.
///
///
public CodeExpression TestExpression {
get {
return testExpression;
}
set {
testExpression = value;
}
}
///
///
/// Gets or sets
/// the per loop cycle increment statement.
///
///
public CodeStatement IncrementStatement {
get {
return incrementStatement;
}
set {
incrementStatement = value;
}
}
///
///
/// Gets or sets
/// the statements to be executed within the loop.
///
///
public CodeStatementCollection Statements {
get {
return statements;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
//
// [....]
// 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;
///
///
/// Represents a simple for loop.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeIterationStatement : CodeStatement {
private CodeStatement initStatement;
private CodeExpression testExpression;
private CodeStatement incrementStatement;
private CodeStatementCollection statements = new CodeStatementCollection();
///
///
/// Initializes a new instance of .
///
///
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);
}
///
///
/// Gets or sets
/// the loop initialization statement.
///
///
public CodeStatement InitStatement {
get {
return initStatement;
}
set {
initStatement = value;
}
}
///
///
/// Gets or sets
/// the expression to test for.
///
///
public CodeExpression TestExpression {
get {
return testExpression;
}
set {
testExpression = value;
}
}
///
///
/// Gets or sets
/// the per loop cycle increment statement.
///
///
public CodeStatement IncrementStatement {
get {
return incrementStatement;
}
set {
incrementStatement = value;
}
}
///
///
/// Gets or sets
/// the statements to be executed within the loop.
///
///
public CodeStatementCollection Statements {
get {
return statements;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EdmError.cs
- DataRecord.cs
- IssuanceLicense.cs
- WeakReferenceKey.cs
- MultiBinding.cs
- Model3DGroup.cs
- Point4DConverter.cs
- DataViewSetting.cs
- HtmlEmptyTagControlBuilder.cs
- EarlyBoundInfo.cs
- PersonalizablePropertyEntry.cs
- CompositeDesignerAccessibleObject.cs
- TextEditorCharacters.cs
- validationstate.cs
- SoapProcessingBehavior.cs
- MetadataPropertyAttribute.cs
- RecordBuilder.cs
- StringAttributeCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- SignerInfo.cs
- RIPEMD160.cs
- CommonObjectSecurity.cs
- SettingsAttributes.cs
- ProfileProvider.cs
- LayoutEditorPart.cs
- XmlSchemaAll.cs
- X509PeerCertificateAuthenticationElement.cs
- CategoryAttribute.cs
- IisTraceWebEventProvider.cs
- SqlPersonalizationProvider.cs
- ServiceBehaviorElement.cs
- SafeBitVector32.cs
- ListDesigner.cs
- GroupItemAutomationPeer.cs
- XmlSchemaComplexType.cs
- WorkflowMarkupSerializer.cs
- QueryActivatableWorkflowsCommand.cs
- StrokeNodeData.cs
- RSAOAEPKeyExchangeFormatter.cs
- ConfigsHelper.cs
- TimerElapsedEvenArgs.cs
- Stream.cs
- RecordConverter.cs
- OrderedParallelQuery.cs
- DesignerLoader.cs
- ObjectListCommand.cs
- WizardSideBarListControlItemEventArgs.cs
- XPathExpr.cs
- ProfessionalColors.cs
- WebPartDescription.cs
- MDIClient.cs
- TypeDescriptionProviderAttribute.cs
- FrameworkPropertyMetadata.cs
- IEnumerable.cs
- WebPartDisplayModeCollection.cs
- PickBranchDesigner.xaml.cs
- ControlAdapter.cs
- SingleKeyFrameCollection.cs
- HtmlFormWrapper.cs
- DetailsViewRowCollection.cs
- ScriptReferenceEventArgs.cs
- RegexGroup.cs
- CodeTypeConstructor.cs
- CalendarDay.cs
- SmtpTransport.cs
- CatalogZoneDesigner.cs
- Marshal.cs
- GlobalId.cs
- SQLInt16Storage.cs
- QueryReaderSettings.cs
- ValidationRule.cs
- XPathDocumentNavigator.cs
- ProfileService.cs
- InlineObject.cs
- Msec.cs
- FixedSOMPage.cs
- BamlResourceContent.cs
- SystemIPGlobalProperties.cs
- PropertyReferenceSerializer.cs
- SchemaSetCompiler.cs
- GraphicsState.cs
- DictionaryManager.cs
- DbCommandTree.cs
- ProtectedConfigurationSection.cs
- XmlSchemaObject.cs
- ImageAttributes.cs
- SqlClientWrapperSmiStream.cs
- CharEnumerator.cs
- DataRowExtensions.cs
- Attributes.cs
- UserPreferenceChangedEventArgs.cs
- DiagnosticTrace.cs
- HttpBrowserCapabilitiesBase.cs
- HostVisual.cs
- AccessibleObject.cs
- TextModifierScope.cs
- ToolStripSplitStackLayout.cs
- QueryOptionExpression.cs
- Soap12FormatExtensions.cs
- WebPartDisplayModeEventArgs.cs