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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TargetFrameworkUtil.cs
- StorageMappingItemCollection.cs
- CodeIdentifier.cs
- ParamArrayAttribute.cs
- ReadOnlyDictionary.cs
- IteratorDescriptor.cs
- SynchronizationFilter.cs
- documentsequencetextview.cs
- XPathDescendantIterator.cs
- DuplicateDetector.cs
- Page.cs
- Message.cs
- WebPartCatalogAddVerb.cs
- AutoCompleteStringCollection.cs
- RuntimeTrackingProfile.cs
- JpegBitmapEncoder.cs
- HelpEvent.cs
- DebugInfoGenerator.cs
- ToolStripDropDownClosingEventArgs.cs
- WindowsToolbar.cs
- invalidudtexception.cs
- OracleConnection.cs
- FlowNode.cs
- HttpRequest.cs
- DataRowChangeEvent.cs
- FrameAutomationPeer.cs
- AvTrace.cs
- GenericXmlSecurityTokenAuthenticator.cs
- DiscardableAttribute.cs
- FtpWebRequest.cs
- ExpressionReplacer.cs
- HtmlLink.cs
- HasCopySemanticsAttribute.cs
- DataContractAttribute.cs
- StrokeNode.cs
- XmlDataLoader.cs
- SortFieldComparer.cs
- WCFModelStrings.Designer.cs
- WebPartRestoreVerb.cs
- CodeGotoStatement.cs
- CursorConverter.cs
- MatrixCamera.cs
- Point3DCollectionConverter.cs
- BmpBitmapDecoder.cs
- CodeTypeDelegate.cs
- DataServiceRequestException.cs
- DataControlFieldCell.cs
- DispatchChannelSink.cs
- FixedDocumentPaginator.cs
- _NestedSingleAsyncResult.cs
- ToolStripRenderer.cs
- DataGridBeginningEditEventArgs.cs
- CommonRemoteMemoryBlock.cs
- ListSourceHelper.cs
- StringCollectionEditor.cs
- GridViewRow.cs
- KeyManager.cs
- DependsOnAttribute.cs
- FormsAuthenticationModule.cs
- DataGridViewCellMouseEventArgs.cs
- FormViewPageEventArgs.cs
- WebScriptServiceHost.cs
- QilBinary.cs
- DataViewManager.cs
- EffectiveValueEntry.cs
- Optimizer.cs
- NamedPipeAppDomainProtocolHandler.cs
- RequestTimeoutManager.cs
- LineServices.cs
- OletxResourceManager.cs
- AmbientLight.cs
- AuthenticationModuleElement.cs
- PlaceHolder.cs
- XsltInput.cs
- GenericTransactionFlowAttribute.cs
- VisualSerializer.cs
- ChoiceConverter.cs
- FontSource.cs
- DynamicObject.cs
- PackageDigitalSignatureManager.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- PowerModeChangedEventArgs.cs
- TableAutomationPeer.cs
- Form.cs
- _LoggingObject.cs
- InvalidCommandTreeException.cs
- BoundsDrawingContextWalker.cs
- ConnectionPointGlyph.cs
- MailSettingsSection.cs
- SessionStateModule.cs
- DataViewManager.cs
- GlyphRunDrawing.cs
- TableLayoutCellPaintEventArgs.cs
- CharacterMetricsDictionary.cs
- SemanticTag.cs
- RegexMatchCollection.cs
- BulletChrome.cs
- DiscoveryClientChannelFactory.cs
- SqlDataSourceCache.cs
- CompilerError.cs