Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeDirectiveCollection.cs / 1305376 / CodeDirectiveCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable() ] public class CodeDirectiveCollection : CollectionBase { public CodeDirectiveCollection() { } public CodeDirectiveCollection(CodeDirectiveCollection value) { this.AddRange(value); } public CodeDirectiveCollection(CodeDirective[] value) { this.AddRange(value); } public CodeDirective this[int index] { get { return ((CodeDirective)(List[index])); } set { List[index] = value; } } public int Add(CodeDirective value) { return List.Add(value); } public void AddRange(CodeDirective[] 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(CodeDirectiveCollection 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(CodeDirective value) { return List.Contains(value); } public void CopyTo(CodeDirective[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CodeDirective value) { return List.IndexOf(value); } public void Insert(int index, CodeDirective value) { List.Insert(index, value); } public void Remove(CodeDirective 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 CodeDirectiveCollection : CollectionBase { public CodeDirectiveCollection() { } public CodeDirectiveCollection(CodeDirectiveCollection value) { this.AddRange(value); } public CodeDirectiveCollection(CodeDirective[] value) { this.AddRange(value); } public CodeDirective this[int index] { get { return ((CodeDirective)(List[index])); } set { List[index] = value; } } public int Add(CodeDirective value) { return List.Add(value); } public void AddRange(CodeDirective[] 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(CodeDirectiveCollection 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(CodeDirective value) { return List.Contains(value); } public void CopyTo(CodeDirective[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CodeDirective value) { return List.IndexOf(value); } public void Insert(int index, CodeDirective value) { List.Insert(index, value); } public void Remove(CodeDirective 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
- OracleBoolean.cs
- EncryptedKey.cs
- TableDetailsRow.cs
- MsmqAppDomainProtocolHandler.cs
- ReadOnlyDictionary.cs
- ItemType.cs
- WsatExtendedInformation.cs
- StylusPointPropertyInfoDefaults.cs
- SelectiveScrollingGrid.cs
- DataSvcMapFile.cs
- OleServicesContext.cs
- PriorityBindingExpression.cs
- rsa.cs
- AttributeAction.cs
- ReflectEventDescriptor.cs
- DrawingVisualDrawingContext.cs
- ConnectionInterfaceCollection.cs
- DataControlImageButton.cs
- ADMembershipUser.cs
- TextBox.cs
- SystemIPInterfaceStatistics.cs
- ContentPlaceHolderDesigner.cs
- BehaviorEditorPart.cs
- KoreanCalendar.cs
- SendParametersContent.cs
- XamlInt32CollectionSerializer.cs
- UpDownEvent.cs
- Internal.cs
- IUnknownConstantAttribute.cs
- LineServices.cs
- DbDeleteCommandTree.cs
- BitmapData.cs
- MouseActionValueSerializer.cs
- FormViewUpdateEventArgs.cs
- PerfService.cs
- XmlElementCollection.cs
- HtmlElementCollection.cs
- SendMailErrorEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- FrameworkElement.cs
- ProcessThread.cs
- DataColumn.cs
- ObfuscationAttribute.cs
- ToolStripPanelSelectionGlyph.cs
- RegionIterator.cs
- FormatSettings.cs
- XPathConvert.cs
- ProfileSettings.cs
- Rfc2898DeriveBytes.cs
- SqlFunctionAttribute.cs
- SmiConnection.cs
- SQlBooleanStorage.cs
- ObservableDictionary.cs
- ButtonBaseAutomationPeer.cs
- BuildProviderAppliesToAttribute.cs
- EventData.cs
- X509CertificateInitiatorClientCredential.cs
- ProxyWebPart.cs
- TcpChannelFactory.cs
- EncoderReplacementFallback.cs
- DataComponentMethodGenerator.cs
- DataObjectPastingEventArgs.cs
- XmlSchemaExporter.cs
- TextSpan.cs
- StateManagedCollection.cs
- ColorDialog.cs
- DataGridViewCellParsingEventArgs.cs
- TransformerConfigurationWizardBase.cs
- DirectoryGroupQuery.cs
- WindowExtensionMethods.cs
- LogSwitch.cs
- DataGridViewAutoSizeModeEventArgs.cs
- CookieHandler.cs
- MarginCollapsingState.cs
- XPathParser.cs
- SoapCodeExporter.cs
- CharAnimationBase.cs
- ClientConfigurationSystem.cs
- ListViewEditEventArgs.cs
- EventlogProvider.cs
- Thread.cs
- FilteredAttributeCollection.cs
- GetPageCompletedEventArgs.cs
- RenderData.cs
- DataControlImageButton.cs
- BindingSourceDesigner.cs
- DrawingDrawingContext.cs
- EpmTargetTree.cs
- TextEditorTyping.cs
- DataTableMappingCollection.cs
- SymbolTable.cs
- SqlDeflator.cs
- ParentQuery.cs
- RemotingException.cs
- OleStrCAMarshaler.cs
- ModifierKeysValueSerializer.cs
- DocumentXmlWriter.cs
- EdmSchemaAttribute.cs
- SplitContainer.cs
- BuildManagerHost.cs