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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowDesigner.cs
- ILGenerator.cs
- UriSection.cs
- RoleManagerModule.cs
- WebPartTransformerAttribute.cs
- DesignerHelpers.cs
- HttpValueCollection.cs
- CustomBindingElement.cs
- FilterException.cs
- MapPathBasedVirtualPathProvider.cs
- ScrollItemProviderWrapper.cs
- HybridObjectCache.cs
- HttpsChannelFactory.cs
- NamespaceCollection.cs
- ExtendedProperty.cs
- LinqDataSourceDeleteEventArgs.cs
- UTF8Encoding.cs
- XmlSerializationGeneratedCode.cs
- CfgParser.cs
- DataTemplateSelector.cs
- ConfigurationSchemaErrors.cs
- ContractTypeNameCollection.cs
- FixedFlowMap.cs
- ConnectionOrientedTransportBindingElement.cs
- CodeEventReferenceExpression.cs
- Html32TextWriter.cs
- RectangleF.cs
- SoapCodeExporter.cs
- MimeWriter.cs
- LogStore.cs
- DesigntimeLicenseContext.cs
- CodeIdentifiers.cs
- MULTI_QI.cs
- ExceptionCollection.cs
- PersonalizableAttribute.cs
- Opcode.cs
- ApplicationSecurityInfo.cs
- RegexTypeEditor.cs
- Authorization.cs
- XPathParser.cs
- UInt64Storage.cs
- SlipBehavior.cs
- RegularExpressionValidator.cs
- HttpContextServiceHost.cs
- ScalarRestriction.cs
- PropertyTabChangedEvent.cs
- Slider.cs
- DesignerFrame.cs
- Publisher.cs
- SchemaElementDecl.cs
- RectValueSerializer.cs
- StoreConnection.cs
- DesignColumnCollection.cs
- MatrixCamera.cs
- Stream.cs
- GetImportedCardRequest.cs
- ParameterToken.cs
- Sql8ExpressionRewriter.cs
- EventMetadata.cs
- figurelength.cs
- DataServiceOperationContext.cs
- UrlEncodedParameterWriter.cs
- Message.cs
- ProviderBase.cs
- WindowsListViewSubItem.cs
- HostProtectionPermission.cs
- IntPtr.cs
- ModifyActivitiesPropertyDescriptor.cs
- TreeNodeBinding.cs
- MessageBox.cs
- CodeLabeledStatement.cs
- Certificate.cs
- CustomBindingElementCollection.cs
- WebPartManagerInternals.cs
- RayMeshGeometry3DHitTestResult.cs
- MDIControlStrip.cs
- FixedFlowMap.cs
- ProfileInfo.cs
- ProfileBuildProvider.cs
- GlyphInfoList.cs
- ForeignKeyConstraint.cs
- ImportContext.cs
- DropDownList.cs
- XmlDomTextWriter.cs
- Material.cs
- PrincipalPermission.cs
- RawStylusSystemGestureInputReport.cs
- TypeConstant.cs
- ChannelDispatcher.cs
- PageAsyncTask.cs
- FixedSOMContainer.cs
- DataFieldConverter.cs
- ErrorInfoXmlDocument.cs
- WorkflowHostingEndpoint.cs
- ErrorStyle.cs
- OleDbReferenceCollection.cs
- XmlSchema.cs
- ResolveCriteria11.cs
- BaseParagraph.cs
- SystemNetworkInterface.cs