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
- SaveFileDialog.cs
- LoginName.cs
- DetailsViewPagerRow.cs
- basenumberconverter.cs
- Brush.cs
- HighContrastHelper.cs
- AxisAngleRotation3D.cs
- VariableBinder.cs
- CustomWebEventKey.cs
- InvokeBinder.cs
- DrawingContext.cs
- ActiveDocumentEvent.cs
- TextProperties.cs
- FileLevelControlBuilderAttribute.cs
- PersonalizableTypeEntry.cs
- RowParagraph.cs
- DataServiceException.cs
- SHA512.cs
- DataGridViewLayoutData.cs
- XmlCompatibilityReader.cs
- SortKey.cs
- XmlDataProvider.cs
- ConfigXmlReader.cs
- RequestCacheManager.cs
- OracleInfoMessageEventArgs.cs
- RenderingBiasValidation.cs
- basemetadatamappingvisitor.cs
- ToolStripDropDownButton.cs
- RewritingValidator.cs
- SqlCommandBuilder.cs
- InternalCache.cs
- DataControlLinkButton.cs
- FileUtil.cs
- FileRecordSequenceCompletedAsyncResult.cs
- CompilerTypeWithParams.cs
- LogEntryDeserializer.cs
- ReliableChannelBinder.cs
- ValidationErrorEventArgs.cs
- RNGCryptoServiceProvider.cs
- LocatorBase.cs
- TextLineBreak.cs
- Propagator.Evaluator.cs
- XmlSchemaSubstitutionGroup.cs
- PageCache.cs
- TraceLevelStore.cs
- AuthenticateEventArgs.cs
- WindowsListBox.cs
- WindowsGraphicsWrapper.cs
- _StreamFramer.cs
- DesigntimeLicenseContext.cs
- XamlToRtfParser.cs
- DispatcherSynchronizationContext.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- DataObjectCopyingEventArgs.cs
- DesigntimeLicenseContext.cs
- AssemblyAttributes.cs
- MenuItem.cs
- DataServiceQuery.cs
- ObsoleteAttribute.cs
- XmlTextReader.cs
- ListControl.cs
- ActivityTypeCodeDomSerializer.cs
- RecognizerInfo.cs
- SimpleHandlerFactory.cs
- ClientUrlResolverWrapper.cs
- WeakHashtable.cs
- EditorAttribute.cs
- LineGeometry.cs
- SendKeys.cs
- UnsafeNativeMethods.cs
- TouchDevice.cs
- OdbcParameter.cs
- AmbientValueAttribute.cs
- SecurityState.cs
- CheckPair.cs
- StorageModelBuildProvider.cs
- CurrencyWrapper.cs
- SqlConnectionString.cs
- PackageProperties.cs
- FragmentQueryKB.cs
- FontStyles.cs
- MulticastIPAddressInformationCollection.cs
- RegexMatch.cs
- Stylesheet.cs
- ChangesetResponse.cs
- NestedContainer.cs
- CatalogPart.cs
- QueryOptionExpression.cs
- MethodImplAttribute.cs
- RtfControls.cs
- _DomainName.cs
- ManagementOperationWatcher.cs
- ClientSettings.cs
- _AutoWebProxyScriptEngine.cs
- DocumentPageTextView.cs
- HandlerFactoryCache.cs
- HashCodeCombiner.cs
- PropertyTabChangedEvent.cs
- FileRecordSequence.cs
- DockPanel.cs