Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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)); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileDialogCustomPlacesCollection.cs
- WebBrowser.cs
- SR.cs
- TraceFilter.cs
- CacheOutputQuery.cs
- ResourceType.cs
- DirectoryInfo.cs
- RectAnimation.cs
- Camera.cs
- ViewManager.cs
- securestring.cs
- PageContent.cs
- Crypto.cs
- VisualStyleTypesAndProperties.cs
- RIPEMD160Managed.cs
- KeyInterop.cs
- SHA384.cs
- SByte.cs
- QilStrConcat.cs
- ShimAsPublicXamlType.cs
- FrameworkElementFactory.cs
- ConfigurationElementProperty.cs
- CurrencyManager.cs
- ViewCellSlot.cs
- ServiceBusyException.cs
- GridViewSelectEventArgs.cs
- OleServicesContext.cs
- ImageMetadata.cs
- AppSettingsExpressionBuilder.cs
- SqlMetaData.cs
- IisTraceWebEventProvider.cs
- Registration.cs
- VolatileResourceManager.cs
- DataMemberConverter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- XPathArrayIterator.cs
- DiscreteKeyFrames.cs
- Content.cs
- _LocalDataStore.cs
- ResolveCriteriaCD1.cs
- WorkflowMessageEventHandler.cs
- UnsafeNativeMethods.cs
- PowerModeChangedEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- Unit.cs
- ComplexTypeEmitter.cs
- ServiceInfo.cs
- TypeLibConverter.cs
- FacetChecker.cs
- MemoryStream.cs
- ObjectNavigationPropertyMapping.cs
- EntityParameterCollection.cs
- KeyEventArgs.cs
- metadatamappinghashervisitor.cs
- NavigationProperty.cs
- TemplatePagerField.cs
- DataGridTable.cs
- MetadataUtilsSmi.cs
- Journaling.cs
- SqlDataSourceCommandParser.cs
- EntityObject.cs
- DataAdapter.cs
- IPGlobalProperties.cs
- Graph.cs
- TreeNodeClickEventArgs.cs
- DownloadProgressEventArgs.cs
- BitSet.cs
- CompositeFontFamily.cs
- HtmlFormAdapter.cs
- InfiniteIntConverter.cs
- TextHidden.cs
- QilXmlReader.cs
- UserControlDesigner.cs
- RuntimeHandles.cs
- XmlSerializer.cs
- SettingsPropertyWrongTypeException.cs
- ObjectViewListener.cs
- CustomTypeDescriptor.cs
- DiscoveryClientProtocol.cs
- RepeaterItemCollection.cs
- SortQuery.cs
- DataGridViewColumnEventArgs.cs
- XmlStreamNodeWriter.cs
- documentsequencetextcontainer.cs
- BufferModeSettings.cs
- PerformanceCountersElement.cs
- Schema.cs
- ScrollViewerAutomationPeer.cs
- BitmapEditor.cs
- XsdCachingReader.cs
- ChannelBase.cs
- CodeDomDesignerLoader.cs
- SafePEFileHandle.cs
- OrderedEnumerableRowCollection.cs
- MemberInfoSerializationHolder.cs
- IItemProperties.cs
- DbReferenceCollection.cs
- SchemaCollectionCompiler.cs
- OleDbRowUpdatedEvent.cs
- ObjectDataSourceMethodEventArgs.cs