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
- EncryptedPackage.cs
- TextEditor.cs
- webeventbuffer.cs
- StateMachineExecutionState.cs
- DbTransaction.cs
- RelatedEnd.cs
- SystemNetworkInterface.cs
- SystemIPv6InterfaceProperties.cs
- NamedPipeActivation.cs
- SatelliteContractVersionAttribute.cs
- SqlBulkCopyColumnMappingCollection.cs
- HelpInfo.cs
- AssemblyUtil.cs
- UnsafeNativeMethods.cs
- BevelBitmapEffect.cs
- QueryConverter.cs
- XmlTextReaderImplHelpers.cs
- _CookieModule.cs
- UIPermission.cs
- TextLine.cs
- ConnectionPoolManager.cs
- InheritablePropertyChangeInfo.cs
- BinHexDecoder.cs
- FieldTemplateFactory.cs
- LinqDataSourceUpdateEventArgs.cs
- Number.cs
- DecimalStorage.cs
- ZipIOCentralDirectoryBlock.cs
- SignerInfo.cs
- DbConnectionFactory.cs
- X509AsymmetricSecurityKey.cs
- PeerName.cs
- TagMapCollection.cs
- RIPEMD160.cs
- XsdCachingReader.cs
- TextSelectionHelper.cs
- DispatcherEventArgs.cs
- ArrayHelper.cs
- WhitespaceRuleLookup.cs
- EmbeddedObject.cs
- DetailsViewRow.cs
- util.cs
- DetailsViewDeletedEventArgs.cs
- EdmTypeAttribute.cs
- CollectionViewGroup.cs
- ReadOnlyAttribute.cs
- AssemblyAttributesGoHere.cs
- FixedSOMLineCollection.cs
- DesignerTransactionCloseEvent.cs
- PopupEventArgs.cs
- WsdlWriter.cs
- SynchronizedCollection.cs
- ConnectionStringEditor.cs
- FakeModelPropertyImpl.cs
- StylusButtonEventArgs.cs
- CustomErrorCollection.cs
- CodeArrayCreateExpression.cs
- SelectionHighlightInfo.cs
- DrawingImage.cs
- _FtpControlStream.cs
- ColorContext.cs
- CompilerParameters.cs
- DataGridViewRowCancelEventArgs.cs
- EncoderParameter.cs
- DockProviderWrapper.cs
- FontNameConverter.cs
- WebPartExportVerb.cs
- HebrewCalendar.cs
- QilSortKey.cs
- TouchDevice.cs
- ColorConvertedBitmap.cs
- DCSafeHandle.cs
- Form.cs
- CaseStatement.cs
- Rect.cs
- OracleDateTime.cs
- BasePattern.cs
- DataObjectAttribute.cs
- CustomCredentialPolicy.cs
- HttpHandlerActionCollection.cs
- TextProperties.cs
- SqlDataSourceTableQuery.cs
- Matrix.cs
- OrderPreservingSpoolingTask.cs
- TemplatedWizardStep.cs
- AddressAlreadyInUseException.cs
- TemplateField.cs
- TextRange.cs
- CollectionCodeDomSerializer.cs
- TypefaceMap.cs
- Attachment.cs
- FormatStringEditor.cs
- SortAction.cs
- Timer.cs
- FixedSOMPageConstructor.cs
- WsdlParser.cs
- TemplateControl.cs
- DesignerHelpers.cs
- NativeMethodsCLR.cs
- ScriptControlManager.cs