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
- VisualBasicSettingsHandler.cs
- MdiWindowListStrip.cs
- StrokeIntersection.cs
- FilterQueryOptionExpression.cs
- DefaultSettingsSection.cs
- AssemblyInfo.cs
- RectangleGeometry.cs
- ResizingMessageFilter.cs
- DataServiceOperationContext.cs
- ScriptDescriptor.cs
- BitmapEffectvisualstate.cs
- ProviderCollection.cs
- DeclarativeCatalogPart.cs
- OracleParameter.cs
- ToolboxCategory.cs
- MethodBuilder.cs
- AttributeProviderAttribute.cs
- ConfigurationPropertyAttribute.cs
- BaseTemplateParser.cs
- AppearanceEditorPart.cs
- FixedHyperLink.cs
- HtmlElement.cs
- WebPartZoneDesigner.cs
- SmiEventSink_Default.cs
- FilterQueryOptionExpression.cs
- SqlServices.cs
- ActivitySurrogate.cs
- ContainerFilterService.cs
- BamlVersionHeader.cs
- PrimaryKeyTypeConverter.cs
- WindowsImpersonationContext.cs
- PublisherMembershipCondition.cs
- OdbcHandle.cs
- DataServiceEntityAttribute.cs
- AnonymousIdentificationModule.cs
- StylusCaptureWithinProperty.cs
- BuildResultCache.cs
- TextCompositionManager.cs
- TreeNodeBindingCollection.cs
- CodeIdentifiers.cs
- DataGridColumnEventArgs.cs
- GenericAuthenticationEventArgs.cs
- ExpressionBuilder.cs
- RowSpanVector.cs
- SelectedDatesCollection.cs
- DataServiceConfiguration.cs
- UInt32.cs
- ObjectViewListener.cs
- FocusChangedEventArgs.cs
- ContentDisposition.cs
- TreeViewTemplateSelector.cs
- HttpWebRequest.cs
- DocumentApplication.cs
- ParallelDesigner.xaml.cs
- NonParentingControl.cs
- ExecutionEngineException.cs
- ReadOnlyObservableCollection.cs
- RecipientInfo.cs
- PolyBezierSegmentFigureLogic.cs
- HwndTarget.cs
- CustomValidator.cs
- EntityDataSourceViewSchema.cs
- ReachNamespaceInfo.cs
- BooleanProjectedSlot.cs
- RuntimeVariablesExpression.cs
- DesignerActionMethodItem.cs
- DescendentsWalkerBase.cs
- EventToken.cs
- AutomationElementCollection.cs
- DesignerWithHeader.cs
- Deflater.cs
- SqlDataRecord.cs
- Adorner.cs
- ChannelEndpointElement.cs
- ImageListImage.cs
- XmlSchemaAppInfo.cs
- MeasureItemEvent.cs
- DesignerFrame.cs
- MessagingDescriptionAttribute.cs
- PrintController.cs
- XmlSchemaAttributeGroupRef.cs
- DataGridViewRowCollection.cs
- ComponentGlyph.cs
- LoginName.cs
- IIS7WorkerRequest.cs
- XmlAttributes.cs
- WorkflowOperationContext.cs
- ListViewAutomationPeer.cs
- SizeKeyFrameCollection.cs
- FacetValues.cs
- Brush.cs
- Invariant.cs
- RuleSettingsCollection.cs
- ItemAutomationPeer.cs
- ProcessModuleCollection.cs
- DataTableNewRowEvent.cs
- PublisherMembershipCondition.cs
- ScriptingWebServicesSectionGroup.cs
- Command.cs
- InternalsVisibleToAttribute.cs