Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Toolbox / ToolCreatedEventArgs.cs / 1305376 / ToolCreatedEventArgs.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.Activities.Presentation.Toolbox
{
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime;
using System.Windows;
// This class represents event arguments for tool created event
[Fx.Tag.XamlVisible(false)]
public sealed class ToolCreatedEventArgs : RoutedEventArgs
{
IComponent[] components;
internal ToolCreatedEventArgs(RoutedEvent eventName, object sender, IComponent[] components)
: base(eventName, sender)
{
this.components = components;
}
[SuppressMessage(FxCop.Category.Performance, "CA1819:PropertiesShouldNotReturnArrays",
Justification = "Array type property does not clone the array in the getter. It references the same array instance.")]
public IComponent[] Components
{
get { return this.components; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PipelineComponent.cs
- ManagementEventWatcher.cs
- SqlRewriteScalarSubqueries.cs
- SmiXetterAccessMap.cs
- RequestCachePolicy.cs
- ipaddressinformationcollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SessionStateSection.cs
- EdmScalarPropertyAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- ControlParser.cs
- DefaultEventAttribute.cs
- ScriptManager.cs
- ImpersonateTokenRef.cs
- PnrpPeerResolverBindingElement.cs
- XmlCollation.cs
- ProfileBuildProvider.cs
- MenuItemStyle.cs
- MenuAdapter.cs
- StyleTypedPropertyAttribute.cs
- RuleSettings.cs
- SubordinateTransaction.cs
- XPathArrayIterator.cs
- MetadataWorkspace.cs
- CollectionConverter.cs
- BigIntegerStorage.cs
- AppliedDeviceFiltersEditor.cs
- NativeMethods.cs
- UnicastIPAddressInformationCollection.cs
- GlyphRunDrawing.cs
- PolyQuadraticBezierSegment.cs
- AggregateException.cs
- DataGridViewCellStateChangedEventArgs.cs
- cryptoapiTransform.cs
- PageCopyCount.cs
- RedirectionProxy.cs
- TimeoutException.cs
- InstanceCreationEditor.cs
- MimeFormatter.cs
- RewritingSimplifier.cs
- DiscreteKeyFrames.cs
- ScriptControlManager.cs
- Array.cs
- ColorDialog.cs
- SqlCacheDependency.cs
- TextOnlyOutput.cs
- AutoGeneratedField.cs
- MustUnderstandSoapException.cs
- IDataContractSurrogate.cs
- TypeUtil.cs
- SiteMapPath.cs
- DocumentAutomationPeer.cs
- TraceSection.cs
- XmlLanguage.cs
- Misc.cs
- Interlocked.cs
- ProfilePropertyNameValidator.cs
- StringToken.cs
- FilteredAttributeCollection.cs
- EntityConnectionStringBuilder.cs
- NodeFunctions.cs
- Pkcs9Attribute.cs
- FontSource.cs
- ToolStripContentPanel.cs
- ACE.cs
- PrintDialog.cs
- ResourcesChangeInfo.cs
- CodeGenerator.cs
- DocumentReference.cs
- ObjectDataSourceView.cs
- Model3D.cs
- DataGridClipboardHelper.cs
- BuilderPropertyEntry.cs
- SslStream.cs
- TimerExtension.cs
- Model3DGroup.cs
- InvalidPipelineStoreException.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TagNameToTypeMapper.cs
- SQLChars.cs
- SafeProcessHandle.cs
- TraceHelpers.cs
- StringArrayConverter.cs
- XsdDataContractExporter.cs
- Quaternion.cs
- Attribute.cs
- BitmapEffectCollection.cs
- CommandEventArgs.cs
- XmlExceptionHelper.cs
- Models.cs
- ConfigurationManagerInternal.cs
- TraceSection.cs
- FixedHighlight.cs
- storepermission.cs
- ScrollContentPresenter.cs
- SQLDecimalStorage.cs
- Regex.cs
- Pair.cs
- SQLChars.cs
- DependencyPropertyKey.cs