Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataGridViewLinkCell.cs
- WriteStateInfoBase.cs
- WorkflowOperationFault.cs
- RootBrowserWindow.cs
- BamlLocalizationDictionary.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- TreeViewDesigner.cs
- SoapCodeExporter.cs
- xmlsaver.cs
- TextTreeExtractElementUndoUnit.cs
- PipeConnection.cs
- XmlParserContext.cs
- shaperfactoryquerycacheentry.cs
- EntitySqlQueryState.cs
- ProxyElement.cs
- InkPresenterAutomationPeer.cs
- DataStorage.cs
- SettingsPropertyIsReadOnlyException.cs
- RuleSettingsCollection.cs
- ListControlStringCollectionEditor.cs
- TemplateKeyConverter.cs
- MultiBinding.cs
- SqlRecordBuffer.cs
- HttpProtocolReflector.cs
- DecimalFormatter.cs
- MetaTable.cs
- PointConverter.cs
- CellLabel.cs
- UniqueEventHelper.cs
- NavigationPropertyEmitter.cs
- RenderData.cs
- AnnotationStore.cs
- PeerEndPoint.cs
- HttpListener.cs
- TimelineCollection.cs
- URLIdentityPermission.cs
- ModelItemDictionary.cs
- SelectedDatesCollection.cs
- DefaultClaimSet.cs
- Converter.cs
- CodeNamespaceImport.cs
- TeredoHelper.cs
- AutoResizedEvent.cs
- ExpressionBuilder.cs
- ImageField.cs
- RemotingAttributes.cs
- XmlEntityReference.cs
- ComponentDispatcher.cs
- Roles.cs
- DictionaryGlobals.cs
- XPathItem.cs
- CompilerTypeWithParams.cs
- Buffer.cs
- EventlogProvider.cs
- WebScriptEndpointElement.cs
- Translator.cs
- XmlKeywords.cs
- SqlProcedureAttribute.cs
- WindowsTooltip.cs
- KeySpline.cs
- DataBoundControlAdapter.cs
- CodeGen.cs
- QualificationDataItem.cs
- TableLayoutStyleCollection.cs
- KeyNotFoundException.cs
- ProcessInputEventArgs.cs
- NamedElement.cs
- SerializationInfo.cs
- FlowDocument.cs
- _PooledStream.cs
- HtmlInputHidden.cs
- ValidationContext.cs
- TemplatePartAttribute.cs
- SQLResource.cs
- ServiceBehaviorElementCollection.cs
- XmlReflectionMember.cs
- SqlBulkCopy.cs
- MarshalByValueComponent.cs
- DirectionalLight.cs
- CmsInterop.cs
- ItemCollection.cs
- BitmapEffectGroup.cs
- CompilationRelaxations.cs
- NavigatingCancelEventArgs.cs
- PartialTrustVisibleAssembly.cs
- PropertyGridView.cs
- ToolStripCustomTypeDescriptor.cs
- WindowsBrush.cs
- TracePayload.cs
- RSAOAEPKeyExchangeFormatter.cs
- VectorAnimationBase.cs
- CodeTypeDelegate.cs
- XmlValueConverter.cs
- IndexedString.cs
- COM2IPerPropertyBrowsingHandler.cs
- DocumentSequenceHighlightLayer.cs
- ServiceRoute.cs
- CanonicalFontFamilyReference.cs
- ReliabilityContractAttribute.cs
- ApplyTemplatesAction.cs