Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameterCollection.cs / 1305376 / CodeTypeParameterCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // 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.[....] // Copyright (c) Microsoft Corporation. All rights reserved. //
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- itemelement.cs
- Scene3D.cs
- TextWriterTraceListener.cs
- DataGridColumnHeader.cs
- Journaling.cs
- MarkupObject.cs
- BatchParser.cs
- DebugView.cs
- SqlInternalConnectionSmi.cs
- DeclarativeCatalogPart.cs
- TraceHandler.cs
- HtmlInputReset.cs
- AnimationClockResource.cs
- ExpressionBuilder.cs
- DesignTimeTemplateParser.cs
- PropertyConverter.cs
- ExpiredSecurityTokenException.cs
- TypefaceMetricsCache.cs
- TypeGenericEnumerableViewSchema.cs
- ConnectionStringsExpressionBuilder.cs
- CompositeScriptReference.cs
- ScriptDescriptor.cs
- LabelTarget.cs
- GuidelineCollection.cs
- DBParameter.cs
- ItemsPanelTemplate.cs
- TypeCodeDomSerializer.cs
- SponsorHelper.cs
- FixedHighlight.cs
- XmlSchemaNotation.cs
- CodeTypeConstructor.cs
- TemplateInstanceAttribute.cs
- TraceXPathNavigator.cs
- BitmapCache.cs
- KeyBinding.cs
- IChannel.cs
- FloaterBaseParagraph.cs
- Literal.cs
- KeyNameIdentifierClause.cs
- ParentUndoUnit.cs
- TempFiles.cs
- SQLResource.cs
- EnumUnknown.cs
- DynamicMethod.cs
- DataBoundLiteralControl.cs
- Thumb.cs
- GridViewEditEventArgs.cs
- DocumentApplicationJournalEntry.cs
- XmlDocumentFieldSchema.cs
- PriorityQueue.cs
- Vertex.cs
- HScrollBar.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- XmlDataCollection.cs
- ReservationCollection.cs
- ImageSourceValueSerializer.cs
- ProviderCommandInfoUtils.cs
- PipeStream.cs
- ChtmlCommandAdapter.cs
- xmlglyphRunInfo.cs
- ContractMapping.cs
- PropertyHelper.cs
- EdmType.cs
- ComponentDispatcherThread.cs
- ProfessionalColors.cs
- OdbcRowUpdatingEvent.cs
- TableLayoutPanelBehavior.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- SqlReorderer.cs
- NullableBoolConverter.cs
- EventLogPermissionAttribute.cs
- SubMenuStyle.cs
- ProfileParameter.cs
- SpeechEvent.cs
- ResXResourceSet.cs
- WindowsSpinner.cs
- DBSqlParser.cs
- AutoResetEvent.cs
- QuadraticBezierSegment.cs
- SqlXml.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- ErrorFormatterPage.cs
- XmlReaderSettings.cs
- _HeaderInfoTable.cs
- AutomationPeer.cs
- RuntimeConfig.cs
- MessageSmuggler.cs
- InkCanvasFeedbackAdorner.cs
- XmlWriterSettings.cs
- DotAtomReader.cs
- FactoryMaker.cs
- AppSettingsReader.cs
- DetailsView.cs
- BindStream.cs
- Int32AnimationUsingKeyFrames.cs
- TiffBitmapEncoder.cs
- SessionStateUtil.cs
- Fonts.cs
- TrackingServices.cs
- CommandCollectionEditor.cs