Code:
/ DotNET / DotNET / 8.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
- BlobPersonalizationState.cs
- BlurBitmapEffect.cs
- ConfigsHelper.cs
- pingexception.cs
- ChannelDispatcher.cs
- SubclassTypeValidatorAttribute.cs
- BinaryHeap.cs
- RegularExpressionValidator.cs
- SpecialNameAttribute.cs
- HostVisual.cs
- errorpatternmatcher.cs
- LinkUtilities.cs
- BitmapImage.cs
- TypeDependencyAttribute.cs
- CryptoStream.cs
- HebrewCalendar.cs
- ProgressBar.cs
- UITypeEditor.cs
- LabelAutomationPeer.cs
- FixedLineResult.cs
- ApplicationCommands.cs
- ExpressionNormalizer.cs
- ValueQuery.cs
- MonikerSyntaxException.cs
- ComEventsHelper.cs
- XmlNullResolver.cs
- SqlConnectionString.cs
- IdentifierService.cs
- Token.cs
- SqlConnectionFactory.cs
- Ipv6Element.cs
- MediaTimeline.cs
- XmlElementList.cs
- WebPartMenuStyle.cs
- AutomationPattern.cs
- Icon.cs
- DependencyPropertyValueSerializer.cs
- ReleaseInstanceMode.cs
- BitmapEffect.cs
- DataGridTableCollection.cs
- Ref.cs
- PropertyStore.cs
- HtmlInputControl.cs
- CalendarAutoFormatDialog.cs
- TraceContextEventArgs.cs
- Canvas.cs
- datacache.cs
- MessageQuerySet.cs
- CustomExpressionEventArgs.cs
- RequestContext.cs
- MaterialGroup.cs
- InternalTypeHelper.cs
- DocumentXPathNavigator.cs
- MenuTracker.cs
- TraceInternal.cs
- IgnoreFileBuildProvider.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DataGridViewAdvancedBorderStyle.cs
- ConnectionConsumerAttribute.cs
- Form.cs
- MessagePropertyFilter.cs
- TraceContextEventArgs.cs
- XsltLibrary.cs
- UriWriter.cs
- TextEditorLists.cs
- HTTPNotFoundHandler.cs
- ScriptRef.cs
- CommonBehaviorsSection.cs
- NativeMethods.cs
- BatchParser.cs
- LocalizationCodeDomSerializer.cs
- OdbcHandle.cs
- SecurityTokenResolver.cs
- ToolCreatedEventArgs.cs
- QilGeneratorEnv.cs
- newitemfactory.cs
- DeferredReference.cs
- Setter.cs
- Gdiplus.cs
- ExternalFile.cs
- TdsParameterSetter.cs
- Shape.cs
- XPathParser.cs
- GridErrorDlg.cs
- HtmlSelect.cs
- Tuple.cs
- InputReport.cs
- ServicePointManager.cs
- View.cs
- XmlSchemaSimpleType.cs
- DataContractSerializerOperationBehavior.cs
- XamlFigureLengthSerializer.cs
- DataListItem.cs
- FormsAuthentication.cs
- GridViewColumnCollection.cs
- SqlInternalConnectionSmi.cs
- ContentPlaceHolder.cs
- FormViewDeletedEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- X509SubjectKeyIdentifierClause.cs