Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Services / Monitoring / system / Diagnosticts / CounterCreationDataCollection.cs / 1 / CounterCreationDataCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Diagnostics { using System; using System.ComponentModel; using System.Collections; ////// [Serializable()] public class CounterCreationDataCollection : CollectionBase { ///[To be supplied.] ////// public CounterCreationDataCollection() { } ///[To be supplied.] ////// public CounterCreationDataCollection(CounterCreationDataCollection value) { this.AddRange(value); } ///[To be supplied.] ////// public CounterCreationDataCollection(CounterCreationData[] value) { this.AddRange(value); } ///[To be supplied.] ////// public CounterCreationData this[int index] { get { return ((CounterCreationData)(List[index])); } set { List[index] = value; } } ///[To be supplied.] ////// public int Add(CounterCreationData value) { return List.Add(value); } ///[To be supplied.] ////// public void AddRange(CounterCreationData[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } ///[To be supplied.] ////// public void AddRange(CounterCreationDataCollection 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]); } } ///[To be supplied.] ////// public bool Contains(CounterCreationData value) { return List.Contains(value); } ///[To be supplied.] ////// public void CopyTo(CounterCreationData[] array, int index) { List.CopyTo(array, index); } ///[To be supplied.] ////// public int IndexOf(CounterCreationData value) { return List.IndexOf(value); } ///[To be supplied.] ////// public void Insert(int index, CounterCreationData value) { List.Insert(index, value); } ///[To be supplied.] ////// public virtual void Remove(CounterCreationData value) { List.Remove(value); } protected override void OnValidate(object value) { if (value == null) throw new ArgumentNullException("value"); CounterCreationData dataToAdd = value as CounterCreationData; if (dataToAdd == null) throw new ArgumentException(SR.GetString(SR.MustAddCounterCreationData)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Diagnostics { using System; using System.ComponentModel; using System.Collections; ////// [Serializable()] public class CounterCreationDataCollection : CollectionBase { ///[To be supplied.] ////// public CounterCreationDataCollection() { } ///[To be supplied.] ////// public CounterCreationDataCollection(CounterCreationDataCollection value) { this.AddRange(value); } ///[To be supplied.] ////// public CounterCreationDataCollection(CounterCreationData[] value) { this.AddRange(value); } ///[To be supplied.] ////// public CounterCreationData this[int index] { get { return ((CounterCreationData)(List[index])); } set { List[index] = value; } } ///[To be supplied.] ////// public int Add(CounterCreationData value) { return List.Add(value); } ///[To be supplied.] ////// public void AddRange(CounterCreationData[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } ///[To be supplied.] ////// public void AddRange(CounterCreationDataCollection 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]); } } ///[To be supplied.] ////// public bool Contains(CounterCreationData value) { return List.Contains(value); } ///[To be supplied.] ////// public void CopyTo(CounterCreationData[] array, int index) { List.CopyTo(array, index); } ///[To be supplied.] ////// public int IndexOf(CounterCreationData value) { return List.IndexOf(value); } ///[To be supplied.] ////// public void Insert(int index, CounterCreationData value) { List.Insert(index, value); } ///[To be supplied.] ////// public virtual void Remove(CounterCreationData value) { List.Remove(value); } protected override void OnValidate(object value) { if (value == null) throw new ArgumentNullException("value"); CounterCreationData dataToAdd = value as CounterCreationData; if (dataToAdd == null) throw new ArgumentException(SR.GetString(SR.MustAddCounterCreationData)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Attachment.cs
- CommandHelpers.cs
- GridViewUpdatedEventArgs.cs
- SuppressIldasmAttribute.cs
- FrugalList.cs
- FaultContractInfo.cs
- FileVersionInfo.cs
- RadioButton.cs
- DebugViewWriter.cs
- EdmToObjectNamespaceMap.cs
- ListBox.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ClientSettingsSection.cs
- FixedPageAutomationPeer.cs
- InputBuffer.cs
- DeferredTextReference.cs
- ResourceIDHelper.cs
- DispatcherExceptionFilterEventArgs.cs
- _Semaphore.cs
- SqlDependencyListener.cs
- CodeCommentStatement.cs
- PageEventArgs.cs
- WithStatement.cs
- WebServiceMethodData.cs
- DataSourceView.cs
- XsltArgumentList.cs
- PerformanceCounterPermissionAttribute.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DispatcherEventArgs.cs
- ChannelManager.cs
- XmlSchemaType.cs
- QuadraticBezierSegment.cs
- WindowsPen.cs
- QueryResponse.cs
- RoleManagerModule.cs
- Perspective.cs
- TextProviderWrapper.cs
- BoundField.cs
- DnsPermission.cs
- DataGridViewCellStyleConverter.cs
- parserscommon.cs
- XmlEncoding.cs
- SystemPens.cs
- OleDbMetaDataFactory.cs
- Events.cs
- ControlCollection.cs
- TableRow.cs
- DispatcherFrame.cs
- HtmlTitle.cs
- TypeDescriptor.cs
- HttpApplication.cs
- DefaultAssemblyResolver.cs
- XamlToRtfParser.cs
- MediaCommands.cs
- AnnotationHighlightLayer.cs
- XPathExpr.cs
- ErrorWrapper.cs
- Speller.cs
- XsdBuilder.cs
- MemberAccessException.cs
- EllipseGeometry.cs
- _Win32.cs
- UniqueContractNameValidationBehavior.cs
- WebPartCatalogCloseVerb.cs
- DesignRelation.cs
- BrowserCapabilitiesCodeGenerator.cs
- ReferencedCollectionType.cs
- SchemaTableColumn.cs
- ObjectQuery.cs
- _LoggingObject.cs
- TrustSection.cs
- FormsAuthenticationTicket.cs
- path.cs
- DataObjectPastingEventArgs.cs
- MultiPropertyDescriptorGridEntry.cs
- ObjectNavigationPropertyMapping.cs
- PrintingPermission.cs
- OutputCacheSettings.cs
- Event.cs
- ToolZone.cs
- XslAst.cs
- ConfigXmlComment.cs
- XmlAtomicValue.cs
- NavigationProperty.cs
- ILGenerator.cs
- GenericTextProperties.cs
- Compiler.cs
- Validator.cs
- ListViewGroupConverter.cs
- XmlSubtreeReader.cs
- CodeAccessPermission.cs
- CookielessHelper.cs
- BindingParameterCollection.cs
- ResourceContainerWrapper.cs
- MiniMapControl.xaml.cs
- X509Extension.cs
- Int64Storage.cs
- BuildProvidersCompiler.cs
- ConvertTextFrag.cs
- IndexerHelper.cs