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
- PageEventArgs.cs
- Emitter.cs
- CachedRequestParams.cs
- OracleConnection.cs
- Viewport3DAutomationPeer.cs
- GatewayDefinition.cs
- TableLayoutRowStyleCollection.cs
- TextElementEnumerator.cs
- Axis.cs
- SortedList.cs
- StylusButton.cs
- TableItemStyle.cs
- WorkflowQueuingService.cs
- UnionExpr.cs
- StickyNoteAnnotations.cs
- EnumType.cs
- ToolStripDropDownItemDesigner.cs
- TrackingServices.cs
- Atom10FormatterFactory.cs
- processwaithandle.cs
- MultipartContentParser.cs
- LogWriteRestartAreaState.cs
- MailAddress.cs
- WebControlsSection.cs
- SqlBooleanMismatchVisitor.cs
- TwoPhaseCommit.cs
- BaseInfoTable.cs
- StandardCommands.cs
- TraceHandlerErrorFormatter.cs
- XPathEmptyIterator.cs
- UserControlCodeDomTreeGenerator.cs
- ActionItem.cs
- PassportAuthenticationModule.cs
- CodeComment.cs
- DisposableCollectionWrapper.cs
- WebPageTraceListener.cs
- HostingPreferredMapPath.cs
- Point3DCollectionConverter.cs
- OpCellTreeNode.cs
- PointLightBase.cs
- COAUTHINFO.cs
- ExecutionEngineException.cs
- DBSchemaRow.cs
- HostingEnvironmentException.cs
- DtdParser.cs
- TypeUnloadedException.cs
- KeyGestureValueSerializer.cs
- OracleNumber.cs
- BmpBitmapDecoder.cs
- DocumentViewerAutomationPeer.cs
- HttpCacheVaryByContentEncodings.cs
- Logging.cs
- WebControlParameterProxy.cs
- AttributeTableBuilder.cs
- TraceListeners.cs
- baseaxisquery.cs
- figurelengthconverter.cs
- FontDriver.cs
- Stylesheet.cs
- ColumnCollection.cs
- HScrollProperties.cs
- ContractsBCL.cs
- EndPoint.cs
- UnsafeNativeMethods.cs
- MonthCalendarDesigner.cs
- HWStack.cs
- DigestTraceRecordHelper.cs
- HtmlControlAdapter.cs
- Timer.cs
- Compiler.cs
- CodeTypeDelegate.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DecodeHelper.cs
- StrokeNode.cs
- RetrieveVirtualItemEventArgs.cs
- WebAdminConfigurationHelper.cs
- Char.cs
- KeyMatchBuilder.cs
- XmlSchemaSimpleType.cs
- BackgroundWorker.cs
- IDispatchConstantAttribute.cs
- EntityChangedParams.cs
- PropertyTab.cs
- HttpResponse.cs
- SchemaCreator.cs
- DataGridTablesFactory.cs
- GcSettings.cs
- FormsAuthenticationTicket.cs
- ColorConvertedBitmapExtension.cs
- SQLStringStorage.cs
- CompilerResults.cs
- SingleObjectCollection.cs
- X509ChainElement.cs
- ObsoleteAttribute.cs
- TableAdapterManagerMethodGenerator.cs
- TraceSection.cs
- PageParserFilter.cs
- DataKey.cs
- RegisterResponseInfo.cs
- SiteMapPathDesigner.cs