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
- CustomWebEventKey.cs
- TextAdaptor.cs
- CommandDevice.cs
- KeyMatchBuilder.cs
- CompositeFontFamily.cs
- MulticastIPAddressInformationCollection.cs
- TaiwanCalendar.cs
- Operand.cs
- TextMetrics.cs
- JulianCalendar.cs
- EdgeModeValidation.cs
- NetworkInformationException.cs
- DataErrorValidationRule.cs
- DialogWindow.cs
- ScriptHandlerFactory.cs
- WorkflowQueue.cs
- UMPAttributes.cs
- Rectangle.cs
- CodeCompiler.cs
- SizeIndependentAnimationStorage.cs
- SqlUtils.cs
- EnumerableCollectionView.cs
- TextBoxRenderer.cs
- MenuCommands.cs
- TextEvent.cs
- SessionStateUtil.cs
- QilPatternVisitor.cs
- SpeechEvent.cs
- CheckableControlBaseAdapter.cs
- CompilerErrorCollection.cs
- ToolStripPanelRenderEventArgs.cs
- CompModSwitches.cs
- IdentityNotMappedException.cs
- PersonalizationState.cs
- CompilerTypeWithParams.cs
- PerfCounterSection.cs
- StructuredTypeEmitter.cs
- InfoCardMetadataExchangeClient.cs
- X509Certificate2.cs
- FixedSOMElement.cs
- bidPrivateBase.cs
- Object.cs
- ScriptingWebServicesSectionGroup.cs
- BitmapEffect.cs
- SqlResolver.cs
- WorkflowServiceBuildProvider.cs
- _NegoState.cs
- DataServicePagingProviderWrapper.cs
- RelOps.cs
- SchemaCollectionPreprocessor.cs
- PageOrientation.cs
- XmlTypeMapping.cs
- GiveFeedbackEvent.cs
- ClientSession.cs
- XmlSchemaSequence.cs
- PkcsMisc.cs
- Privilege.cs
- PublisherIdentityPermission.cs
- WebPartTracker.cs
- HostProtectionPermission.cs
- WebBrowserHelper.cs
- returneventsaver.cs
- wgx_render.cs
- SystemIcons.cs
- ControlParser.cs
- DataGridViewRowConverter.cs
- DataContractSerializerOperationGenerator.cs
- ListViewAutomationPeer.cs
- ScriptManagerProxy.cs
- ModuleConfigurationInfo.cs
- TypeConverter.cs
- elementinformation.cs
- EventMappingSettingsCollection.cs
- LinearGradientBrush.cs
- RegisteredExpandoAttribute.cs
- BlockCollection.cs
- LogArchiveSnapshot.cs
- TextRangeSerialization.cs
- ZipIORawDataFileBlock.cs
- StartFileNameEditor.cs
- ConnectionProviderAttribute.cs
- ParallelDesigner.xaml.cs
- HttpPostProtocolReflector.cs
- PageSettings.cs
- ParallelTimeline.cs
- DiscoveryExceptionDictionary.cs
- HttpApplication.cs
- XhtmlBasicTextBoxAdapter.cs
- SafeArrayTypeMismatchException.cs
- DynamicObject.cs
- XmlDocumentType.cs
- DataGridState.cs
- AutomationPropertyInfo.cs
- BaseCollection.cs
- Version.cs
- DefaultPrintController.cs
- MenuAdapter.cs
- DataSvcMapFileSerializer.cs
- ApplicationSettingsBase.cs
- DoubleLinkList.cs