Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameterCollection.cs / 1 / CodeTypeParameterCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeParameterCollection : CollectionBase { public CodeTypeParameterCollection() { } public CodeTypeParameterCollection(CodeTypeParameterCollection value) { this.AddRange(value); } public CodeTypeParameterCollection(CodeTypeParameter[] value) { this.AddRange(value); } public CodeTypeParameter this[int index] { get { return ((CodeTypeParameter)(List[index])); } set { List[index] = value; } } public int Add(CodeTypeParameter value) { return List.Add(value); } public void Add(string value) { Add(new CodeTypeParameter(value)); } public void AddRange(CodeTypeParameter[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } public void AddRange(CodeTypeParameterCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } public bool Contains(CodeTypeParameter value) { return List.Contains(value); } public void CopyTo(CodeTypeParameter[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CodeTypeParameter value) { return List.IndexOf(value); } public void Insert(int index, CodeTypeParameter value) { List.Insert(index, value); } public void Remove(CodeTypeParameter value) { List.Remove(value); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SocketInformation.cs
- WebPartMenuStyle.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- WmfPlaceableFileHeader.cs
- ThrowHelper.cs
- ToolStrip.cs
- XslNumber.cs
- InfoCardArgumentException.cs
- SqlClientWrapperSmiStream.cs
- BaseTemplateCodeDomTreeGenerator.cs
- BuildProvider.cs
- ServiceBusyException.cs
- SafeMemoryMappedViewHandle.cs
- UIElementParagraph.cs
- ObjectMemberMapping.cs
- OracleTransaction.cs
- XmlSchemaComplexType.cs
- NameValuePermission.cs
- TextDecorationCollection.cs
- GeometryModel3D.cs
- MethodImplAttribute.cs
- TableLayoutPanel.cs
- InternalDispatchObject.cs
- RequestCacheValidator.cs
- XXXOnTypeBuilderInstantiation.cs
- DragEvent.cs
- AttachmentCollection.cs
- _SecureChannel.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ColorContextHelper.cs
- __Filters.cs
- ServicePointManager.cs
- RichTextBox.cs
- DrawingContextDrawingContextWalker.cs
- LabelLiteral.cs
- ResourceProviderFactory.cs
- SchemaNotation.cs
- AsyncResult.cs
- RecordBuilder.cs
- RequestCachingSection.cs
- Matrix.cs
- XmlReader.cs
- _emptywebproxy.cs
- DisplayMemberTemplateSelector.cs
- GridViewUpdateEventArgs.cs
- SqlCachedBuffer.cs
- TextPenaltyModule.cs
- SecurityDocument.cs
- SortDescription.cs
- GetTokenRequest.cs
- Debug.cs
- XmlElementAttributes.cs
- XmlAggregates.cs
- PackagingUtilities.cs
- EventLogHandle.cs
- ForceCopyBuildProvider.cs
- ConstructorBuilder.cs
- AsyncOperation.cs
- RunInstallerAttribute.cs
- TimeSpanOrInfiniteConverter.cs
- CookielessHelper.cs
- PlatformCulture.cs
- HttpListenerRequest.cs
- UnsafeNativeMethodsMilCoreApi.cs
- HostedImpersonationContext.cs
- KeyInfo.cs
- AddInPipelineAttributes.cs
- TimelineCollection.cs
- Helper.cs
- Exceptions.cs
- AttachmentService.cs
- ListViewCommandEventArgs.cs
- LayoutEngine.cs
- TypedElement.cs
- GlyphElement.cs
- ConnectionManagementElementCollection.cs
- ExpandableObjectConverter.cs
- ValidatingPropertiesEventArgs.cs
- DataGridTableCollection.cs
- NamespaceEmitter.cs
- XamlTypeMapperSchemaContext.cs
- DataGridGeneralPage.cs
- SourceInterpreter.cs
- TypeSystemProvider.cs
- CodeSnippetTypeMember.cs
- ECDsa.cs
- DrawingContextWalker.cs
- SQLSingleStorage.cs
- ParameterCollection.cs
- FormViewCommandEventArgs.cs
- RegexRunnerFactory.cs
- FormsAuthenticationUser.cs
- AuthorizationSection.cs
- __Error.cs
- CompilerLocalReference.cs
- BamlLocalizableResource.cs
- ExpressionBinding.cs
- TypeSystemProvider.cs
- PageCopyCount.cs
- EdmItemCollection.cs