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
- Array.cs
- CompareInfo.cs
- COM2ExtendedUITypeEditor.cs
- SafeEventLogReadHandle.cs
- CapabilitiesAssignment.cs
- ContentFilePart.cs
- SelectionChangedEventArgs.cs
- ExtendedPropertyInfo.cs
- ResourceDictionary.cs
- JoinCqlBlock.cs
- AutomationElementCollection.cs
- ToolStripPanelCell.cs
- SourceFileInfo.cs
- SqlStatistics.cs
- TimeSpanStorage.cs
- ImmComposition.cs
- DataRowComparer.cs
- RawStylusInputCustomDataList.cs
- PrivilegeNotHeldException.cs
- RemotingConfigParser.cs
- KnowledgeBase.cs
- FamilyMap.cs
- StartFileNameEditor.cs
- DataServiceProviderWrapper.cs
- BooleanKeyFrameCollection.cs
- SafePointer.cs
- HttpFileCollection.cs
- SerializationObjectManager.cs
- PenThread.cs
- XmlNodeComparer.cs
- CodeVariableReferenceExpression.cs
- LongTypeConverter.cs
- WorkflowEventArgs.cs
- DetailsViewAutoFormat.cs
- SizeChangedEventArgs.cs
- securitycriticaldataClass.cs
- TagPrefixInfo.cs
- PluggableProtocol.cs
- CompilerCollection.cs
- ProcessHostConfigUtils.cs
- RelationshipFixer.cs
- BitVector32.cs
- TextCollapsingProperties.cs
- SqlCacheDependency.cs
- DoubleAnimationBase.cs
- TableCell.cs
- RouteItem.cs
- DispatcherExceptionFilterEventArgs.cs
- FragmentNavigationEventArgs.cs
- Span.cs
- XmlAttributeHolder.cs
- StreamedWorkflowDefinitionContext.cs
- TypeListConverter.cs
- TypeName.cs
- JournalNavigationScope.cs
- DPCustomTypeDescriptor.cs
- XPathDocumentBuilder.cs
- PlainXmlSerializer.cs
- XmlObjectSerializerContext.cs
- propertytag.cs
- XpsS0ValidatingLoader.cs
- ResourceExpressionBuilder.cs
- RelationshipFixer.cs
- peernodestatemanager.cs
- Size.cs
- ExpressionBinding.cs
- WindowsListViewGroup.cs
- QueryContinueDragEventArgs.cs
- EndPoint.cs
- Pool.cs
- ListControlBuilder.cs
- TypeAccessException.cs
- Brush.cs
- LongValidatorAttribute.cs
- TimeoutConverter.cs
- MailMessageEventArgs.cs
- SiteMapDataSource.cs
- SettingsProperty.cs
- SmtpTransport.cs
- KeyBinding.cs
- UTF7Encoding.cs
- QueryRewriter.cs
- ProfileInfo.cs
- X509SecurityTokenAuthenticator.cs
- ScriptReferenceBase.cs
- DataGridRowClipboardEventArgs.cs
- ScriptComponentDescriptor.cs
- GeneralTransform3D.cs
- ValidatorCompatibilityHelper.cs
- categoryentry.cs
- Debug.cs
- RequestResponse.cs
- UrlAuthorizationModule.cs
- ScopelessEnumAttribute.cs
- HostProtectionException.cs
- FormatException.cs
- validation.cs
- LocalValueEnumerator.cs
- Accessors.cs
- ParallelTimeline.cs