Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeIndexerExpression.cs / 1 / CodeIndexerExpression.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 CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the index. /// ///// 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 CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the index. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Hash.cs
- RequiredFieldValidator.cs
- IEnumerable.cs
- DataGrid.cs
- ExtenderHelpers.cs
- OutputCacheSettingsSection.cs
- FixedSOMSemanticBox.cs
- RadioButtonPopupAdapter.cs
- DetailsViewPageEventArgs.cs
- TemplateBaseAction.cs
- PseudoWebRequest.cs
- PropertyInformationCollection.cs
- BoundingRectTracker.cs
- Html32TextWriter.cs
- CharEnumerator.cs
- ContainerParagraph.cs
- cache.cs
- SyndicationDeserializer.cs
- SqlDataSource.cs
- IWorkflowDebuggerService.cs
- SafeEventHandle.cs
- HtmlInputControl.cs
- ActivityScheduledQuery.cs
- HwndHostAutomationPeer.cs
- PreviewKeyDownEventArgs.cs
- HashAlgorithm.cs
- PropertyManager.cs
- GraphicsContainer.cs
- ContractSearchPattern.cs
- EncryptedPackageFilter.cs
- AnimationClock.cs
- DbConnectionInternal.cs
- WebPartConnectionsConnectVerb.cs
- FontCollection.cs
- DataDocumentXPathNavigator.cs
- SpeakInfo.cs
- DataGridColumnEventArgs.cs
- AudioFileOut.cs
- DateTimeUtil.cs
- ContentPosition.cs
- SoapReflectionImporter.cs
- Utils.cs
- Column.cs
- ReflectionUtil.cs
- ClientBuildManagerCallback.cs
- DataSourceProvider.cs
- StagingAreaInputItem.cs
- CultureMapper.cs
- DeclarativeCatalogPart.cs
- DbSourceParameterCollection.cs
- Separator.cs
- FontResourceCache.cs
- SqlStatistics.cs
- RefExpr.cs
- TTSEvent.cs
- ByteStream.cs
- StrokeCollection2.cs
- ReferencedAssemblyResolver.cs
- Stylesheet.cs
- DataStreams.cs
- XPathNodeIterator.cs
- HttpServerChannel.cs
- JournalEntry.cs
- UshortList2.cs
- SQLBytesStorage.cs
- EventOpcode.cs
- EntityTypeBase.cs
- RegistrationServices.cs
- ObjectReaderCompiler.cs
- DynamicPropertyReader.cs
- DashStyle.cs
- Action.cs
- BitmapCache.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DynamicDataExtensions.cs
- Win32.cs
- RequestDescription.cs
- TimerElapsedEvenArgs.cs
- WindowsScroll.cs
- ToolStripSeparator.cs
- ThrowHelper.cs
- ControlParameter.cs
- XmlSerializationWriter.cs
- ConfigurationManager.cs
- PreProcessor.cs
- PropertyItemInternal.cs
- WebPartManager.cs
- ObjectAnimationUsingKeyFrames.cs
- Pkcs9Attribute.cs
- RawMouseInputReport.cs
- TableLayoutStyleCollection.cs
- DLinqColumnProvider.cs
- CompletedAsyncResult.cs
- XPathAncestorQuery.cs
- _AutoWebProxyScriptWrapper.cs
- ContainerParagraph.cs
- VisualBasicValue.cs
- TypeCollectionPropertyEditor.cs
- StrongNamePublicKeyBlob.cs
- GeometryValueSerializer.cs