Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlControlPersistable.cs
- ConfigXmlComment.cs
- ThemeInfoAttribute.cs
- HuffModule.cs
- ProfileSection.cs
- XmlSchemaAny.cs
- AsyncWaitHandle.cs
- ServiceAppDomainAssociationProvider.cs
- ByteStreamMessage.cs
- XmlElementAttributes.cs
- TemplateKeyConverter.cs
- OperationInvokerBehavior.cs
- DropShadowEffect.cs
- MsmqBindingBase.cs
- FileResponseElement.cs
- PopupRootAutomationPeer.cs
- securitycriticaldataClass.cs
- AdPostCacheSubstitution.cs
- DeviceContexts.cs
- BooleanFacetDescriptionElement.cs
- ByteStreamMessageEncoder.cs
- EntityViewGenerator.cs
- WebControlParameterProxy.cs
- NameValueConfigurationCollection.cs
- ProcessDesigner.cs
- DbQueryCommandTree.cs
- StylusSystemGestureEventArgs.cs
- FlowPosition.cs
- XmlMemberMapping.cs
- EventDriven.cs
- XmlObjectSerializerReadContextComplexJson.cs
- MemberRestriction.cs
- PaperSize.cs
- EntityDataReader.cs
- Effect.cs
- DataGridViewRowCollection.cs
- StringUtil.cs
- ValidationHelper.cs
- RemotingAttributes.cs
- _DisconnectOverlappedAsyncResult.cs
- PrintPreviewControl.cs
- AssociationEndMember.cs
- ContractsBCL.cs
- XmlSchemaExternal.cs
- ObjectKeyFrameCollection.cs
- ReachDocumentPageSerializer.cs
- DataGridViewHitTestInfo.cs
- __Filters.cs
- CLSCompliantAttribute.cs
- KeyManager.cs
- SBCSCodePageEncoding.cs
- Matrix.cs
- SqlOuterApplyReducer.cs
- RectKeyFrameCollection.cs
- ResourcesBuildProvider.cs
- ProxyGenerationError.cs
- ChildTable.cs
- DNS.cs
- _BaseOverlappedAsyncResult.cs
- assertwrapper.cs
- HttpContextWrapper.cs
- linebase.cs
- Options.cs
- TextAction.cs
- OleDbMetaDataFactory.cs
- XmlNamespaceMapping.cs
- WebResourceUtil.cs
- ServiceBehaviorAttribute.cs
- TextEditorTables.cs
- ToolStripDropDownItemDesigner.cs
- altserialization.cs
- URLMembershipCondition.cs
- SymbolMethod.cs
- WebCategoryAttribute.cs
- SharingService.cs
- ConfigurationLocationCollection.cs
- StorageConditionPropertyMapping.cs
- ToolStripCustomTypeDescriptor.cs
- ToolBar.cs
- TextViewBase.cs
- SimpleParser.cs
- WhitespaceReader.cs
- HtmlControlPersistable.cs
- SortableBindingList.cs
- BoundsDrawingContextWalker.cs
- ThrowHelper.cs
- DynamicRenderer.cs
- FileLogRecordStream.cs
- HandlerBase.cs
- SendMessageContent.cs
- SID.cs
- InputEventArgs.cs
- exports.cs
- WmlCommandAdapter.cs
- DetailsViewCommandEventArgs.cs
- IdnMapping.cs
- Base64Encoder.cs
- CodeFieldReferenceExpression.cs
- XmlSchemaInferenceException.cs
- InputScope.cs