Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AutomationEvent.cs
- InputMethodStateChangeEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- PolyLineSegment.cs
- BindableAttribute.cs
- StringBuilder.cs
- SelectionChangedEventArgs.cs
- SecurityDescriptor.cs
- SecurityTokenReferenceStyle.cs
- UInt16Storage.cs
- ReadWriteObjectLock.cs
- XmlILConstructAnalyzer.cs
- TypeConverterAttribute.cs
- TreeNode.cs
- CategoryNameCollection.cs
- ByteConverter.cs
- ListSortDescriptionCollection.cs
- BridgeDataReader.cs
- RuntimeConfig.cs
- MoveSizeWinEventHandler.cs
- httpapplicationstate.cs
- SerializerProvider.cs
- LoginView.cs
- OrElse.cs
- StylusEventArgs.cs
- EventHandlersStore.cs
- SortedList.cs
- SponsorHelper.cs
- OverlappedAsyncResult.cs
- ChooseAction.cs
- DataExpression.cs
- AssemblySettingAttributes.cs
- TextSelectionHelper.cs
- HostExecutionContextManager.cs
- _OverlappedAsyncResult.cs
- XPathCompileException.cs
- FormCollection.cs
- GacUtil.cs
- TextServicesCompartmentEventSink.cs
- BooleanExpr.cs
- TrackingStringDictionary.cs
- InvalidPrinterException.cs
- WindowsGrip.cs
- DocobjHost.cs
- FixedSOMFixedBlock.cs
- LabelInfo.cs
- MouseBinding.cs
- EnumBuilder.cs
- UndoManager.cs
- DesignerTransactionCloseEvent.cs
- complextypematerializer.cs
- DocumentApplicationDocumentViewer.cs
- CodeBlockBuilder.cs
- Pointer.cs
- WorkflowView.cs
- SelfIssuedAuthAsymmetricKey.cs
- BitmapEffectRenderDataResource.cs
- FrameworkContentElementAutomationPeer.cs
- PowerModeChangedEventArgs.cs
- DrawingVisual.cs
- TableAutomationPeer.cs
- panel.cs
- RotateTransform3D.cs
- SvcFileManager.cs
- EntitySqlException.cs
- DataServiceException.cs
- DetailsViewRow.cs
- SqlSelectStatement.cs
- Metafile.cs
- WindowsListViewGroupHelper.cs
- LoginCancelEventArgs.cs
- JoinCqlBlock.cs
- DataList.cs
- FlowDocumentReader.cs
- WindowsComboBox.cs
- StrokeIntersection.cs
- HideDisabledControlAdapter.cs
- DocumentStatusResources.cs
- Timeline.cs
- View.cs
- PathSegmentCollection.cs
- SettingsSavedEventArgs.cs
- DbProviderServices.cs
- FormViewModeEventArgs.cs
- ETagAttribute.cs
- RowTypePropertyElement.cs
- XPathException.cs
- RemotingSurrogateSelector.cs
- GridViewDeletedEventArgs.cs
- ConnectionsZoneAutoFormat.cs
- TransformGroup.cs
- XmlValueConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- PointCollection.cs
- DateTimeOffsetConverter.cs
- ReadOnlyTernaryTree.cs
- SQLChars.cs
- XmlDocumentSerializer.cs
- TagMapCollection.cs
- CodeCatchClause.cs