Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsEventArgs.cs / 1305376 / WebPartConnectionsEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; public class WebPartConnectionsEventArgs : EventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { // Arguments may be null, when deleting a connection because a part is no longer on the page _provider = provider; _providerConnectionPoint = providerConnectionPoint; _consumer = consumer; _consumerConnectionPoint = consumerConnectionPoint; } public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, WebPartConnection connection) : this(provider, providerConnectionPoint, consumer, consumerConnectionPoint) { _connection = connection; } public WebPartConnection Connection { get { return _connection; } } public WebPart Consumer { get { return _consumer; } } public ConsumerConnectionPoint ConsumerConnectionPoint { get { return _consumerConnectionPoint; } } public WebPart Provider { get { return _provider; } } public ProviderConnectionPoint ProviderConnectionPoint { get { return _providerConnectionPoint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; public class WebPartConnectionsEventArgs : EventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { // Arguments may be null, when deleting a connection because a part is no longer on the page _provider = provider; _providerConnectionPoint = providerConnectionPoint; _consumer = consumer; _consumerConnectionPoint = consumerConnectionPoint; } public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, WebPartConnection connection) : this(provider, providerConnectionPoint, consumer, consumerConnectionPoint) { _connection = connection; } public WebPartConnection Connection { get { return _connection; } } public WebPart Consumer { get { return _consumer; } } public ConsumerConnectionPoint ConsumerConnectionPoint { get { return _consumerConnectionPoint; } } public WebPart Provider { get { return _provider; } } public ProviderConnectionPoint ProviderConnectionPoint { get { return _providerConnectionPoint; } } } } // 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
- SafeHandles.cs
- StorageComplexPropertyMapping.cs
- Membership.cs
- SR.cs
- Token.cs
- GrammarBuilderWildcard.cs
- AvTrace.cs
- ArgumentNullException.cs
- Selection.cs
- ADMembershipUser.cs
- ResolveResponse.cs
- TargetInvocationException.cs
- Internal.cs
- PanelStyle.cs
- FileUtil.cs
- TraceContextRecord.cs
- ReadOnlyHierarchicalDataSource.cs
- DataSourceNameHandler.cs
- DashStyle.cs
- TrackBarRenderer.cs
- FormViewPageEventArgs.cs
- Attachment.cs
- ExpressionsCollectionConverter.cs
- ExtensibleClassFactory.cs
- X509Utils.cs
- DifferencingCollection.cs
- DataKeyArray.cs
- KeyInfo.cs
- httpapplicationstate.cs
- SecurityContextCookieSerializer.cs
- TextTreeNode.cs
- XPathSingletonIterator.cs
- DictionaryItemsCollection.cs
- remotingproxy.cs
- VectorAnimationUsingKeyFrames.cs
- StrongNameUtility.cs
- AnimationClock.cs
- SiteMapNodeItem.cs
- KeyPressEvent.cs
- MessageQueueConverter.cs
- MimeTypeAttribute.cs
- FileRecordSequence.cs
- RotateTransform.cs
- SqlConnectionManager.cs
- DataSourceDesigner.cs
- HttpCapabilitiesSectionHandler.cs
- Int64.cs
- AuthenticatedStream.cs
- ChannelTraceRecord.cs
- ListViewTableRow.cs
- DocumentEventArgs.cs
- ListBindableAttribute.cs
- BulletedListEventArgs.cs
- ObjectConverter.cs
- FontEmbeddingManager.cs
- HMACSHA384.cs
- HttpCookiesSection.cs
- EntityCommandDefinition.cs
- MergeFilterQuery.cs
- RouteTable.cs
- Assembly.cs
- AttributeProviderAttribute.cs
- SubMenuStyleCollection.cs
- DatePickerTextBox.cs
- CollectionConverter.cs
- InstanceCreationEditor.cs
- ItemCheckedEvent.cs
- PersonalizationStateQuery.cs
- TreeNodeBindingCollection.cs
- IPHostEntry.cs
- sitestring.cs
- ColumnCollectionEditor.cs
- SimpleApplicationHost.cs
- EndPoint.cs
- TrackingServices.cs
- WebResponse.cs
- MinMaxParagraphWidth.cs
- CharacterShapingProperties.cs
- ListViewUpdatedEventArgs.cs
- EdmToObjectNamespaceMap.cs
- _HeaderInfoTable.cs
- ReflectionUtil.cs
- FixedPosition.cs
- ComponentResourceKeyConverter.cs
- Int32Storage.cs
- BitmapEffect.cs
- ControlPropertyNameConverter.cs
- JsonStringDataContract.cs
- TextTreeRootNode.cs
- RawStylusInput.cs
- UnsafeNativeMethodsTablet.cs
- TextDecorationLocationValidation.cs
- SecurityContextCookieSerializer.cs
- OdbcConnectionStringbuilder.cs
- PolyLineSegmentFigureLogic.cs
- MultipartIdentifier.cs
- HwndSourceParameters.cs
- IPipelineRuntime.cs
- ClientProtocol.cs
- MetabaseSettings.cs