Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / CounterCreationDataCollection.cs / 1305376 / 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.] ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlCrossApplyToCrossJoin.cs
- PropertyInfoSet.cs
- MethodRental.cs
- RoutedUICommand.cs
- PriorityChain.cs
- ScopelessEnumAttribute.cs
- formatter.cs
- SmiRecordBuffer.cs
- WhiteSpaceTrimStringConverter.cs
- MimeTypePropertyAttribute.cs
- SharedPersonalizationStateInfo.cs
- XmlSchemaAppInfo.cs
- DbSourceCommand.cs
- figurelength.cs
- EventProxy.cs
- DictationGrammar.cs
- ResourceDescriptionAttribute.cs
- DockPanel.cs
- AttributeCollection.cs
- SQLGuid.cs
- ImageFormat.cs
- BitmapEffectDrawingContextWalker.cs
- PersonalizableTypeEntry.cs
- DescendentsWalkerBase.cs
- GeneralTransform3DTo2D.cs
- ConstructorArgumentAttribute.cs
- HostingEnvironmentSection.cs
- UIElement3DAutomationPeer.cs
- AspNetSynchronizationContext.cs
- StyleXamlParser.cs
- BuildProviderCollection.cs
- ObjectDataSourceView.cs
- ConfigurationManagerInternalFactory.cs
- CodeCompileUnit.cs
- EncoderParameter.cs
- ISessionStateStore.cs
- BaseAutoFormat.cs
- Formatter.cs
- MouseWheelEventArgs.cs
- DescendantOverDescendantQuery.cs
- WindowsIPAddress.cs
- X509CertificateStore.cs
- ChtmlLinkAdapter.cs
- TextProperties.cs
- MonikerProxyAttribute.cs
- ToolStripDropDownButton.cs
- DetailsViewCommandEventArgs.cs
- ConfigXmlElement.cs
- MsdtcWrapper.cs
- ViewCellRelation.cs
- RequestNavigateEventArgs.cs
- HealthMonitoringSectionHelper.cs
- DataRelationPropertyDescriptor.cs
- ping.cs
- EnvelopedPkcs7.cs
- RuleSet.cs
- RegisteredHiddenField.cs
- ChannelManager.cs
- SystemIPInterfaceProperties.cs
- CurrencyManager.cs
- UnsafeCollabNativeMethods.cs
- SchemaLookupTable.cs
- StaticFileHandler.cs
- CodeEventReferenceExpression.cs
- SqlDataSourceSelectingEventArgs.cs
- DbgUtil.cs
- EventProviderWriter.cs
- OracleConnection.cs
- StringDictionaryCodeDomSerializer.cs
- TableParagraph.cs
- UpnEndpointIdentityExtension.cs
- ContentAlignmentEditor.cs
- QilPatternVisitor.cs
- HMACSHA256.cs
- MaskInputRejectedEventArgs.cs
- IdentityReference.cs
- ReaderContextStackData.cs
- MetadataUtilsSmi.cs
- GeneralTransform.cs
- LinqDataSourceSelectEventArgs.cs
- TabControlCancelEvent.cs
- SafeMILHandle.cs
- ConcurrentBag.cs
- WorkflowDesignerMessageFilter.cs
- WebPartVerbCollection.cs
- EventLogPermissionAttribute.cs
- CodeTypeReferenceExpression.cs
- DataBinder.cs
- StorageMappingItemLoader.cs
- FontStyle.cs
- BuildProviderUtils.cs
- WindowsImpersonationContext.cs
- ImageFormatConverter.cs
- Binding.cs
- BrowserDefinition.cs
- ItemsControlAutomationPeer.cs
- TemplateBindingExtension.cs
- DbProviderFactoriesConfigurationHandler.cs
- LabelInfo.cs
- SchemaSetCompiler.cs