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
- StandardCommands.cs
- DebugController.cs
- NullableBoolConverter.cs
- XmlWellformedWriter.cs
- CrossAppDomainChannel.cs
- DataServiceRequestException.cs
- EdmPropertyAttribute.cs
- ConfigXmlCDataSection.cs
- MsmqHostedTransportConfiguration.cs
- PieceNameHelper.cs
- StrokeSerializer.cs
- EditorServiceContext.cs
- FillBehavior.cs
- SecureStringHasher.cs
- ProviderCollection.cs
- itemelement.cs
- XsdDateTime.cs
- XmlExtensionFunction.cs
- DigestTraceRecordHelper.cs
- HyperLink.cs
- _NTAuthentication.cs
- XmlILModule.cs
- StatusBarItem.cs
- ADMembershipUser.cs
- ImageFormat.cs
- UrlMappingsModule.cs
- XmlObjectSerializerWriteContextComplex.cs
- WSDualHttpBindingCollectionElement.cs
- HexParser.cs
- EventlogProvider.cs
- AddInProcess.cs
- IndexerHelper.cs
- SqlMetaData.cs
- PasswordDeriveBytes.cs
- AsyncCompletedEventArgs.cs
- ArrayWithOffset.cs
- RequestReplyCorrelator.cs
- ElementHost.cs
- NavigationWindow.cs
- ResponseStream.cs
- EntityModelSchemaGenerator.cs
- PartitionResolver.cs
- ReadOnlyDataSourceView.cs
- XmlNodeList.cs
- Int64Animation.cs
- FocusTracker.cs
- XmlReaderSettings.cs
- StreamingContext.cs
- ItemChangedEventArgs.cs
- Persist.cs
- BaseResourcesBuildProvider.cs
- BitmapEffectvisualstate.cs
- BackStopAuthenticationModule.cs
- Errors.cs
- PageStatePersister.cs
- WindowsFormsDesignerOptionService.cs
- DrawingGroup.cs
- EncoderReplacementFallback.cs
- ArgumentsParser.cs
- TreeNode.cs
- WebPartZoneBase.cs
- HttpCacheVaryByContentEncodings.cs
- XmlHelper.cs
- TextElementEnumerator.cs
- StorageAssociationSetMapping.cs
- EventSinkHelperWriter.cs
- UnwrappedTypesXmlSerializerManager.cs
- DbConnectionInternal.cs
- DataGridViewSelectedRowCollection.cs
- SystemNetHelpers.cs
- ThemeDirectoryCompiler.cs
- WindowsAuthenticationModule.cs
- DataViewSetting.cs
- DelegateSerializationHolder.cs
- FormsAuthenticationEventArgs.cs
- VirtualizedItemProviderWrapper.cs
- TextCharacters.cs
- HtmlTable.cs
- CodeSubDirectoriesCollection.cs
- PropertyEntry.cs
- ExternalException.cs
- StylusCollection.cs
- RectValueSerializer.cs
- WebBrowserHelper.cs
- ThrowOnMultipleAssignment.cs
- PropertyCollection.cs
- OlePropertyStructs.cs
- filewebrequest.cs
- ComponentConverter.cs
- ConstructorArgumentAttribute.cs
- PropertyRef.cs
- PropertyDescriptorCollection.cs
- ApplicationGesture.cs
- InternalConfigConfigurationFactory.cs
- cache.cs
- ActionMessageFilter.cs
- DataPagerField.cs
- AssemblyCache.cs
- SiteMapPath.cs
- SourceItem.cs