Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------ // 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
- KnownTypes.cs
- InfoCard.cs
- WebColorConverter.cs
- ProxyAttribute.cs
- TrustSection.cs
- KeyedCollection.cs
- AggregatePushdown.cs
- XmlAnyAttributeAttribute.cs
- TypeDependencyAttribute.cs
- XmlILStorageConverter.cs
- VerbConverter.cs
- PartialTrustHelpers.cs
- BinaryParser.cs
- DefaultTraceListener.cs
- TabItemWrapperAutomationPeer.cs
- BinaryUtilClasses.cs
- ImportException.cs
- FixUp.cs
- KeyValuePairs.cs
- SecurityTokenSerializer.cs
- MetadataPropertyCollection.cs
- RuntimeWrappedException.cs
- StatusBarDrawItemEvent.cs
- DataChangedEventManager.cs
- ReferenceEqualityComparer.cs
- CursorConverter.cs
- PowerStatus.cs
- StringExpressionSet.cs
- Point3DKeyFrameCollection.cs
- SafeRegistryHandle.cs
- objectresult_tresulttype.cs
- XmlQueryTypeFactory.cs
- ClientBuildManager.cs
- HttpServerVarsCollection.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SqlDataRecord.cs
- ToolStripRenderer.cs
- TCPListener.cs
- _NativeSSPI.cs
- MatrixAnimationBase.cs
- CursorEditor.cs
- HtmlForm.cs
- Point4DConverter.cs
- WinCategoryAttribute.cs
- CodeDomConfigurationHandler.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Pts.cs
- MetadataItem_Static.cs
- Stream.cs
- WorkflowInstanceQuery.cs
- PropertyEmitter.cs
- RegexInterpreter.cs
- HelpProvider.cs
- ListComponentEditorPage.cs
- StreamedFramingRequestChannel.cs
- VirtualDirectoryMapping.cs
- JavascriptCallbackMessageInspector.cs
- ResourceDictionaryCollection.cs
- BamlLocalizableResourceKey.cs
- SequentialUshortCollection.cs
- ConnectionConsumerAttribute.cs
- OledbConnectionStringbuilder.cs
- AsyncSerializedWorker.cs
- DeleteCardRequest.cs
- ProjectionPathSegment.cs
- RemotingServices.cs
- ScrollData.cs
- AssertSection.cs
- RewritingValidator.cs
- EntitySetDataBindingList.cs
- SafeNativeMemoryHandle.cs
- TrackingMemoryStream.cs
- ClientSettingsStore.cs
- SerializationFieldInfo.cs
- PhonemeEventArgs.cs
- ISO2022Encoding.cs
- UIElement.cs
- SubpageParagraph.cs
- EnumerableRowCollection.cs
- TypeNameParser.cs
- LoginDesigner.cs
- BoolExpr.cs
- x509utils.cs
- OutputCacheProviderCollection.cs
- ValueConversionAttribute.cs
- TraversalRequest.cs
- SequentialOutput.cs
- Parameter.cs
- SaveFileDialog.cs
- GradientStopCollection.cs
- CryptoConfig.cs
- XPathAncestorQuery.cs
- ScrollProperties.cs
- BaseParser.cs
- OutOfProcStateClientManager.cs
- CustomErrorCollection.cs
- GlyphingCache.cs
- PixelShader.cs
- DummyDataSource.cs
- EntityDesignerBuildProvider.cs