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
- DataGridViewBindingCompleteEventArgs.cs
- X509ChainPolicy.cs
- RestHandler.cs
- ViewPort3D.cs
- XmlQualifiedNameTest.cs
- RegistryPermission.cs
- XmlResolver.cs
- CreateUserWizardDesigner.cs
- GPPOINTF.cs
- EditorPartCollection.cs
- XmlCharacterData.cs
- FrameworkElementAutomationPeer.cs
- UInt64.cs
- PersonalizableAttribute.cs
- SessionStateModule.cs
- ChineseLunisolarCalendar.cs
- FormsAuthenticationConfiguration.cs
- FilterElement.cs
- HMACMD5.cs
- TypeLoadException.cs
- EventLogPermission.cs
- ConnectionManagementSection.cs
- ToolStripDropTargetManager.cs
- ValueTable.cs
- AutomationIdentifierGuids.cs
- CodeEventReferenceExpression.cs
- UInt32.cs
- ImageSource.cs
- _IPv6Address.cs
- MembershipValidatePasswordEventArgs.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- SoapEnumAttribute.cs
- ScriptServiceAttribute.cs
- CopyAction.cs
- Columns.cs
- RoleManagerModule.cs
- InputGestureCollection.cs
- NameValueConfigurationElement.cs
- ManipulationDevice.cs
- SchemaCollectionPreprocessor.cs
- BasicHttpBindingCollectionElement.cs
- EnumMemberAttribute.cs
- QueryTask.cs
- TrustLevelCollection.cs
- ContentPresenter.cs
- ServiceRoute.cs
- ActionMessageFilter.cs
- UnsafeNativeMethods.cs
- EntityModelSchemaGenerator.cs
- ProtocolElementCollection.cs
- EpmSourceTree.cs
- TimelineGroup.cs
- CombinedGeometry.cs
- FacetChecker.cs
- DataGridParentRows.cs
- CommandValueSerializer.cs
- DataBinder.cs
- DbParameterHelper.cs
- StorageEntityTypeMapping.cs
- TimeSpanStorage.cs
- ConfigXmlAttribute.cs
- ToolStripGripRenderEventArgs.cs
- RequestQueue.cs
- SQLStringStorage.cs
- CertificateManager.cs
- SafeFileMapViewHandle.cs
- InputLangChangeRequestEvent.cs
- ImageListImage.cs
- StringDictionary.cs
- ConfigurationSectionGroupCollection.cs
- UpdateExpressionVisitor.cs
- WmlSelectionListAdapter.cs
- RenderData.cs
- isolationinterop.cs
- PartialList.cs
- NameScope.cs
- GetWorkflowTree.cs
- CompoundFileDeflateTransform.cs
- ReturnType.cs
- DataServiceRequestOfT.cs
- RemoveStoryboard.cs
- HashSetDebugView.cs
- ParserExtension.cs
- XamlRtfConverter.cs
- TextPatternIdentifiers.cs
- ScrollProviderWrapper.cs
- AddingNewEventArgs.cs
- SspiWrapper.cs
- Funcletizer.cs
- Triplet.cs
- UrlMappingsModule.cs
- TerminatorSinks.cs
- ActiveDocumentEvent.cs
- OracleParameter.cs
- MessageBuffer.cs
- ResolveCompletedEventArgs.cs
- Win32SafeHandles.cs
- MdiWindowListStrip.cs
- Trustee.cs
- SqlBulkCopyColumnMappingCollection.cs