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
- ISO2022Encoding.cs
- ListItemCollection.cs
- FunctionParameter.cs
- ParameterModifier.cs
- LinkDesigner.cs
- BitmapMetadataEnumerator.cs
- SoapExtension.cs
- InfoCardSchemas.cs
- CheckBoxRenderer.cs
- BufferModeSettings.cs
- FileUtil.cs
- CodeTryCatchFinallyStatement.cs
- ExceptionUtil.cs
- XmlChildEnumerator.cs
- DataTableClearEvent.cs
- CollectionEditorDialog.cs
- XmlCustomFormatter.cs
- DynamicDocumentPaginator.cs
- XmlIterators.cs
- DataGridHeaderBorder.cs
- InternalBufferManager.cs
- SQLGuid.cs
- ConfigurationElementCollection.cs
- TabItem.cs
- cookieexception.cs
- KeyEventArgs.cs
- ProtectedProviderSettings.cs
- OrderByExpression.cs
- ResourcePool.cs
- ClientTargetCollection.cs
- DataGridViewCellValueEventArgs.cs
- SplitContainer.cs
- Endpoint.cs
- CreateUserWizard.cs
- StylusPointProperty.cs
- CachedPathData.cs
- OrCondition.cs
- BitmapImage.cs
- _ListenerAsyncResult.cs
- SspiSafeHandles.cs
- SHA384.cs
- CipherData.cs
- MediaSystem.cs
- IndexedGlyphRun.cs
- CellConstant.cs
- ClickablePoint.cs
- RandomNumberGenerator.cs
- XmlNodeChangedEventArgs.cs
- DataControlImageButton.cs
- CompiledQuery.cs
- KeyedQueue.cs
- UriScheme.cs
- ExeConfigurationFileMap.cs
- DriveNotFoundException.cs
- TextEditorParagraphs.cs
- SqlNodeAnnotation.cs
- MenuBase.cs
- DataGridTableStyleMappingNameEditor.cs
- Descriptor.cs
- IChannel.cs
- CategoryAttribute.cs
- X509Certificate2.cs
- SiteOfOriginContainer.cs
- OrderingExpression.cs
- ConstructorExpr.cs
- SoapEnumAttribute.cs
- HeaderedContentControl.cs
- GetLastErrorDetailsRequest.cs
- ClickablePoint.cs
- XmlUtil.cs
- FixedStringLookup.cs
- CommandDevice.cs
- MasterPageCodeDomTreeGenerator.cs
- SoapTypeAttribute.cs
- HostingEnvironmentSection.cs
- EdmProperty.cs
- BitArray.cs
- ContourSegment.cs
- Types.cs
- DiagnosticTraceSource.cs
- Executor.cs
- codemethodreferenceexpression.cs
- Part.cs
- CharStorage.cs
- CanonicalXml.cs
- QilXmlWriter.cs
- DataTableMappingCollection.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- FileFormatException.cs
- QueryAsyncResult.cs
- GeneralTransformGroup.cs
- CheckBox.cs
- DbConnectionFactory.cs
- Preprocessor.cs
- userdatakeys.cs
- StringSorter.cs
- designeractionlistschangedeventargs.cs
- TextEditorDragDrop.cs
- DataKey.cs
- DataObjectCopyingEventArgs.cs