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
- MetadataUtilsSmi.cs
- UserControl.cs
- MailMessage.cs
- CustomTrackingQuery.cs
- TargetFrameworkUtil.cs
- XmlAnyElementAttribute.cs
- DetailsViewInsertedEventArgs.cs
- ResourceContainer.cs
- Run.cs
- SpellerStatusTable.cs
- RenamedEventArgs.cs
- DesignerActionItemCollection.cs
- FormViewCommandEventArgs.cs
- DataTableReaderListener.cs
- XPathExpr.cs
- DataObjectFieldAttribute.cs
- TaskForm.cs
- FtpCachePolicyElement.cs
- AssemblyAttributesGoHere.cs
- Parser.cs
- InheritablePropertyChangeInfo.cs
- TileBrush.cs
- AutomationPatternInfo.cs
- LogSwitch.cs
- DataGridAddNewRow.cs
- ItemsPanelTemplate.cs
- ResourceExpressionEditorSheet.cs
- JsonObjectDataContract.cs
- NetDataContractSerializer.cs
- MenuEventArgs.cs
- ButtonPopupAdapter.cs
- WebBrowserNavigatingEventHandler.cs
- XsltSettings.cs
- SqlSupersetValidator.cs
- IIS7WorkerRequest.cs
- DataStreams.cs
- SizeFConverter.cs
- StringValidatorAttribute.cs
- URLString.cs
- Parser.cs
- KeyValueConfigurationCollection.cs
- ObjectFullSpanRewriter.cs
- FieldNameLookup.cs
- QueryTask.cs
- DataError.cs
- TableLayout.cs
- BitConverter.cs
- MailDefinition.cs
- XmlNavigatorStack.cs
- ServiceHttpModule.cs
- ResponseBodyWriter.cs
- DataGridColumnHeader.cs
- basevalidator.cs
- CompositeFontInfo.cs
- ContractSearchPattern.cs
- PathFigure.cs
- XPathScanner.cs
- PixelFormat.cs
- InkCanvas.cs
- WorkflowTimerService.cs
- ElapsedEventArgs.cs
- DataGridPagerStyle.cs
- ModifiableIteratorCollection.cs
- TemplatePartAttribute.cs
- GrowingArray.cs
- WebPartMenu.cs
- DictionaryEntry.cs
- MethodBuilderInstantiation.cs
- SapiRecoInterop.cs
- XmlIncludeAttribute.cs
- XmlException.cs
- DataSet.cs
- XmlSignatureProperties.cs
- OdbcPermission.cs
- XmlDocumentFragment.cs
- TypeElementCollection.cs
- RulePatternOps.cs
- PerfProviderCollection.cs
- FixedPageStructure.cs
- DefaultCommandConverter.cs
- SubclassTypeValidator.cs
- CallSiteBinder.cs
- HttpRawResponse.cs
- WebPartConnectVerb.cs
- TextView.cs
- DeclaredTypeValidator.cs
- EntryWrittenEventArgs.cs
- StrongTypingException.cs
- ModelItemImpl.cs
- DataControlCommands.cs
- DeferrableContent.cs
- PropertyInfo.cs
- AttributeData.cs
- ZipIORawDataFileBlock.cs
- SchemaInfo.cs
- EntityStoreSchemaFilterEntry.cs
- XmlAutoDetectWriter.cs
- DependencyPropertyDescriptor.cs
- FileDialogCustomPlaces.cs
- CacheChildrenQuery.cs