Code:
/ 4.0 / 4.0 / 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.] ///// 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
- UIPermission.cs
- XmlSchemaValidator.cs
- UniformGrid.cs
- listviewsubitemcollectioneditor.cs
- QueryResponse.cs
- sqlnorm.cs
- CompleteWizardStep.cs
- NameValueCollection.cs
- MLangCodePageEncoding.cs
- LinearGradientBrush.cs
- ResourceDisplayNameAttribute.cs
- IISUnsafeMethods.cs
- MethodImplAttribute.cs
- ToolStripButton.cs
- DataGridTextBoxColumn.cs
- XAMLParseException.cs
- ListBindableAttribute.cs
- SHA1CryptoServiceProvider.cs
- clipboard.cs
- XmlReflectionImporter.cs
- ElementNotEnabledException.cs
- DataPager.cs
- RoutedEventValueSerializer.cs
- InternalCache.cs
- ImageDrawing.cs
- HelloMessage11.cs
- OrthographicCamera.cs
- MethodRental.cs
- TransactionManager.cs
- SqlProviderServices.cs
- WithStatement.cs
- RequestCachePolicy.cs
- CircleHotSpot.cs
- OracleConnectionString.cs
- Stackframe.cs
- InternalResources.cs
- ParsedAttributeCollection.cs
- ConditionalExpression.cs
- BuildResult.cs
- TextServicesLoader.cs
- ImageListDesigner.cs
- IDispatchConstantAttribute.cs
- ItemsControl.cs
- SettingsPropertyValue.cs
- UseLicense.cs
- CodeValidator.cs
- WrapPanel.cs
- EndSelectCardRequest.cs
- SapiAttributeParser.cs
- ProviderConnectionPoint.cs
- ProtectedConfigurationSection.cs
- ArrangedElementCollection.cs
- QilVisitor.cs
- DataContractSerializerOperationBehavior.cs
- EventEntry.cs
- XomlCompilerResults.cs
- SafeFileHandle.cs
- TemplateBaseAction.cs
- CachedRequestParams.cs
- _SslState.cs
- QuaternionKeyFrameCollection.cs
- MutexSecurity.cs
- _NTAuthentication.cs
- EventLogTraceListener.cs
- FormViewInsertedEventArgs.cs
- XPathBuilder.cs
- FontStyleConverter.cs
- XmlMapping.cs
- ICspAsymmetricAlgorithm.cs
- AutoResizedEvent.cs
- IPipelineRuntime.cs
- FastPropertyAccessor.cs
- RefreshInfo.cs
- SqlCommand.cs
- HiddenFieldPageStatePersister.cs
- EditCommandColumn.cs
- PropertyValueChangedEvent.cs
- ApplicationFileParser.cs
- RegexCharClass.cs
- XmlQueryType.cs
- WebSysDisplayNameAttribute.cs
- BevelBitmapEffect.cs
- InvokeMemberBinder.cs
- EdmToObjectNamespaceMap.cs
- ServiceReflector.cs
- GlobalDataBindingHandler.cs
- _Events.cs
- XmlSchemaNotation.cs
- TypeHelpers.cs
- RootBrowserWindowAutomationPeer.cs
- TextSelection.cs
- Predicate.cs
- FixedBufferAttribute.cs
- XmlAttributeCollection.cs
- Win32.cs
- ImmutableAssemblyCacheEntry.cs
- BufferAllocator.cs
- SimpleBitVector32.cs
- validationstate.cs
- XslVisitor.cs