Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //// 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); } } } // 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
- DateTimeFormatInfoScanner.cs
- EntityConnection.cs
- StreamingContext.cs
- base64Transforms.cs
- ApplicationInfo.cs
- TypeHelpers.cs
- SqlIdentifier.cs
- ImageListUtils.cs
- Int32CAMarshaler.cs
- HierarchicalDataSourceControl.cs
- DBSqlParserColumn.cs
- XmlBinaryReader.cs
- SqlAggregateChecker.cs
- WsatAdminException.cs
- ThaiBuddhistCalendar.cs
- DesignConnectionCollection.cs
- FigureParagraph.cs
- DataGridViewRowsAddedEventArgs.cs
- EntityClientCacheEntry.cs
- FileLoadException.cs
- RootBuilder.cs
- UniqueConstraint.cs
- ContractValidationHelper.cs
- ImageDrawing.cs
- DependencyPropertyConverter.cs
- HttpCookiesSection.cs
- ProcessThreadCollection.cs
- HostTimeoutsElement.cs
- SqlRemoveConstantOrderBy.cs
- SymLanguageType.cs
- Int16Animation.cs
- XmlValidatingReader.cs
- VirtualizingStackPanel.cs
- QueryableDataSourceHelper.cs
- SourceExpressionException.cs
- Pointer.cs
- BooleanFunctions.cs
- ListViewUpdatedEventArgs.cs
- StringPropertyBuilder.cs
- Baml2006KeyRecord.cs
- XmlSubtreeReader.cs
- SerializationObjectManager.cs
- InvokeBinder.cs
- Byte.cs
- DBAsyncResult.cs
- Point3DAnimation.cs
- ParseChildrenAsPropertiesAttribute.cs
- _ListenerResponseStream.cs
- ProcessModelInfo.cs
- ListChangedEventArgs.cs
- ScrollChangedEventArgs.cs
- TextFormatterImp.cs
- SqlCommandSet.cs
- TripleDESCryptoServiceProvider.cs
- EventProviderTraceListener.cs
- UnmanagedBitmapWrapper.cs
- SystemUnicastIPAddressInformation.cs
- EnumValidator.cs
- KeyGestureConverter.cs
- Fx.cs
- VisualStyleRenderer.cs
- ReachObjectContext.cs
- RewritingSimplifier.cs
- OdbcEnvironment.cs
- BitmapImage.cs
- TransformGroup.cs
- SiteIdentityPermission.cs
- SortQuery.cs
- XPathMessageFilterElementCollection.cs
- SignatureToken.cs
- KeyEvent.cs
- SqlDataSourceEnumerator.cs
- UnicodeEncoding.cs
- TemplateBindingExpressionConverter.cs
- PrintController.cs
- ComponentFactoryHelpers.cs
- LinkedList.cs
- NativeRecognizer.cs
- transactioncontext.cs
- FormViewInsertEventArgs.cs
- DiffuseMaterial.cs
- TextRangeEditLists.cs
- DetailsViewCommandEventArgs.cs
- HtmlTableRowCollection.cs
- DocumentViewerBase.cs
- TraceInternal.cs
- ResourceCategoryAttribute.cs
- SqlDataSourceAdvancedOptionsForm.cs
- sitestring.cs
- ProcessManager.cs
- Span.cs
- NetCodeGroup.cs
- FileLevelControlBuilderAttribute.cs
- DataBinder.cs
- TypeUnloadedException.cs
- OpenFileDialog.cs
- Image.cs
- TextProperties.cs
- mongolianshape.cs
- GeometryHitTestParameters.cs