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
- PolicyUnit.cs
- GeneralTransform3DTo2DTo3D.cs
- ToolStripHighContrastRenderer.cs
- DocumentViewerBase.cs
- VerticalAlignConverter.cs
- LightweightCodeGenerator.cs
- AnnotationObservableCollection.cs
- _SpnDictionary.cs
- HwndHostAutomationPeer.cs
- TransactionOptions.cs
- DataPagerField.cs
- XPathNodeList.cs
- ButtonFieldBase.cs
- FileNotFoundException.cs
- Figure.cs
- SingleStorage.cs
- BidOverLoads.cs
- TextEndOfLine.cs
- BindingMemberInfo.cs
- PassportAuthentication.cs
- QilTypeChecker.cs
- ExpressionTable.cs
- XmlParserContext.cs
- CqlGenerator.cs
- COM2EnumConverter.cs
- DataSourceIDConverter.cs
- PolicyUnit.cs
- ServiceDescriptionContext.cs
- Calendar.cs
- SecurityHelper.cs
- SslStream.cs
- SecurityRuntime.cs
- WindowsToolbar.cs
- FileVersion.cs
- Route.cs
- NonVisualControlAttribute.cs
- EntityDataSourceView.cs
- DataTableNewRowEvent.cs
- BufferAllocator.cs
- WebPartCatalogAddVerb.cs
- BuildProvider.cs
- CodeTypeReferenceCollection.cs
- ParameterDataSourceExpression.cs
- WmlTextBoxAdapter.cs
- TableChangeProcessor.cs
- ElapsedEventArgs.cs
- CompositeTypefaceMetrics.cs
- DocumentViewerHelper.cs
- ChtmlCommandAdapter.cs
- ConfigPathUtility.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SmtpFailedRecipientException.cs
- Journal.cs
- ListViewTableCell.cs
- APCustomTypeDescriptor.cs
- CodeDomDecompiler.cs
- NativeMethods.cs
- ZipIOExtraFieldPaddingElement.cs
- UnsafeNativeMethods.cs
- ListItemCollection.cs
- KeyFrames.cs
- HiddenField.cs
- SqlSelectStatement.cs
- CompilerLocalReference.cs
- UserControlCodeDomTreeGenerator.cs
- CqlBlock.cs
- PasswordDeriveBytes.cs
- CodeConstructor.cs
- DataSourceCollectionBase.cs
- VirtualPath.cs
- SortQuery.cs
- XmlSchemaInclude.cs
- ButtonColumn.cs
- Debug.cs
- ExtensibleSyndicationObject.cs
- TextFormatterContext.cs
- WebDisplayNameAttribute.cs
- XPathMessageFilterTable.cs
- srgsitem.cs
- MailDefinition.cs
- URL.cs
- ReaderWriterLockWrapper.cs
- TableParagraph.cs
- AdjustableArrowCap.cs
- DeviceContext2.cs
- CustomCategoryAttribute.cs
- StateMachineHelpers.cs
- CodeGroup.cs
- BlockingCollection.cs
- BindingGroup.cs
- BinaryUtilClasses.cs
- InvalidComObjectException.cs
- MatrixKeyFrameCollection.cs
- DateTimeFormat.cs
- DataGridViewRowStateChangedEventArgs.cs
- AdRotator.cs
- PrintPreviewDialog.cs
- WebPartTracker.cs
- TransformationRules.cs
- SchemaCollectionPreprocessor.cs