Code:
/ FX-1434 / FX-1434 / 1.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
- baseaxisquery.cs
- ArrangedElementCollection.cs
- EntityDataReader.cs
- AutomationEventArgs.cs
- DataBoundControl.cs
- SByteStorage.cs
- GridEntryCollection.cs
- LinkLabelLinkClickedEvent.cs
- QilDataSource.cs
- TextModifier.cs
- SafeProcessHandle.cs
- ExceptionRoutedEventArgs.cs
- XmlSchemaAttribute.cs
- RoutedPropertyChangedEventArgs.cs
- storagemappingitemcollection.viewdictionary.cs
- MSG.cs
- Int16.cs
- ScrollItemPattern.cs
- ArrayItemReference.cs
- DragCompletedEventArgs.cs
- SpellerStatusTable.cs
- EditorAttribute.cs
- ContentType.cs
- Attributes.cs
- XPathNodeList.cs
- DataGridItemCollection.cs
- OutputWindow.cs
- GridSplitter.cs
- Point3D.cs
- SamlSecurityTokenAuthenticator.cs
- CompiledQueryCacheEntry.cs
- WebScriptMetadataMessageEncoderFactory.cs
- StructuredType.cs
- MonthCalendarDesigner.cs
- EditorZoneBase.cs
- ProcessModule.cs
- ForeignConstraint.cs
- TraceXPathNavigator.cs
- UserNameSecurityTokenProvider.cs
- KeyGestureConverter.cs
- CodeTypeMemberCollection.cs
- TrustManagerMoreInformation.cs
- StringSource.cs
- EdmItemCollection.cs
- odbcmetadatafactory.cs
- InternalEnumValidator.cs
- SqlException.cs
- EndpointInfo.cs
- WinCategoryAttribute.cs
- XmlDesignerDataSourceView.cs
- ImageCodecInfo.cs
- EarlyBoundInfo.cs
- ContractMapping.cs
- TextSpanModifier.cs
- CompositionTarget.cs
- LicenseProviderAttribute.cs
- TargetConverter.cs
- XmlDownloadManager.cs
- ExpressionBuilder.cs
- ListMarkerLine.cs
- CallbackHandler.cs
- NonSerializedAttribute.cs
- LayoutEvent.cs
- CodeExporter.cs
- Equal.cs
- unsafenativemethodsother.cs
- AlphabeticalEnumConverter.cs
- InkCanvasSelection.cs
- SecurityTokenProvider.cs
- StatusStrip.cs
- OdbcError.cs
- UpdatePanelTrigger.cs
- BinaryReader.cs
- XmlAnyAttributeAttribute.cs
- UIElementCollection.cs
- TraceFilter.cs
- SplitterPanel.cs
- PagedDataSource.cs
- SqlDataSourceConfigureSortForm.cs
- DataFormat.cs
- SdlChannelSink.cs
- Form.cs
- BitmapCodecInfo.cs
- IpcChannelHelper.cs
- grammarelement.cs
- Visual.cs
- StrokeCollectionDefaultValueFactory.cs
- RelOps.cs
- SqlCaseSimplifier.cs
- CellConstantDomain.cs
- SendKeys.cs
- ValueConversionAttribute.cs
- EventProxy.cs
- CacheMemory.cs
- SqlBooleanMismatchVisitor.cs
- GroupDescription.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WebPart.cs
- OletxDependentTransaction.cs
- CodeDelegateCreateExpression.cs