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
- HTTPNotFoundHandler.cs
- datacache.cs
- BindingWorker.cs
- StorageAssociationTypeMapping.cs
- assertwrapper.cs
- XmlSchemaAnnotated.cs
- HtmlTernaryTree.cs
- PermissionListSet.cs
- DataTableClearEvent.cs
- StringStorage.cs
- Parameter.cs
- BasicKeyConstraint.cs
- DataGridViewBand.cs
- BaseProcessor.cs
- PasswordDeriveBytes.cs
- SmiEventSink_DeferedProcessing.cs
- DataSourceSelectArguments.cs
- UrlMappingsSection.cs
- HttpResponseHeader.cs
- PropertyEntry.cs
- odbcmetadatacolumnnames.cs
- JavascriptCallbackMessageInspector.cs
- LayoutManager.cs
- StateMachineHistory.cs
- FrameworkElement.cs
- XmlDataCollection.cs
- XdrBuilder.cs
- TextEditorSelection.cs
- AdPostCacheSubstitution.cs
- ConnectionPointCookie.cs
- AsynchronousChannel.cs
- SecurityUtils.cs
- NetDataContractSerializer.cs
- XmlSubtreeReader.cs
- StorageScalarPropertyMapping.cs
- ComAdminInterfaces.cs
- Catch.cs
- XmlMembersMapping.cs
- TraceUtility.cs
- XslVisitor.cs
- TreeBuilderXamlTranslator.cs
- ScrollChrome.cs
- ConfigurationManagerInternal.cs
- WizardStepBase.cs
- PassportIdentity.cs
- Monitor.cs
- MappingException.cs
- RoleService.cs
- ListView.cs
- XPathSingletonIterator.cs
- Table.cs
- altserialization.cs
- ContextMenuStrip.cs
- BmpBitmapEncoder.cs
- CommonGetThemePartSize.cs
- RectangleGeometry.cs
- _ListenerResponseStream.cs
- ProfileProvider.cs
- DrawListViewSubItemEventArgs.cs
- KerberosTicketHashIdentifierClause.cs
- AdornerDecorator.cs
- CapabilitiesPattern.cs
- ExpressionCopier.cs
- WorkflowStateRollbackService.cs
- TreeNodeBinding.cs
- TreeView.cs
- ReachPageContentCollectionSerializerAsync.cs
- DefaultPropertyAttribute.cs
- DataGridViewRowConverter.cs
- HttpRequestCacheValidator.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlMembersMapping.cs
- CodeValidator.cs
- PropertyMap.cs
- PrintDocument.cs
- RawMouseInputReport.cs
- BufferedGraphicsManager.cs
- PackagePart.cs
- ComponentCommands.cs
- QilLoop.cs
- ParagraphVisual.cs
- SoundPlayerAction.cs
- OverrideMode.cs
- AutomationIdentifier.cs
- SmtpFailedRecipientException.cs
- PrintDialogDesigner.cs
- GridItem.cs
- ControlBuilder.cs
- Activity.cs
- PowerStatus.cs
- LinkArea.cs
- FunctionUpdateCommand.cs
- SoapEnumAttribute.cs
- UnsafeNativeMethods.cs
- ScriptControlManager.cs
- RulePatternOps.cs
- bindurihelper.cs
- X509Extension.cs
- JsonQNameDataContract.cs
- Scheduling.cs