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
- Semaphore.cs
- HttpContextServiceHost.cs
- TextSpanModifier.cs
- SqlNotificationRequest.cs
- DesignerView.xaml.cs
- CodeIndexerExpression.cs
- TextBox.cs
- TextContainerHelper.cs
- CryptoApi.cs
- BuildProviderUtils.cs
- UIPermission.cs
- Process.cs
- Int16AnimationBase.cs
- TableParagraph.cs
- ImageKeyConverter.cs
- DataObjectSettingDataEventArgs.cs
- CatalogPartChrome.cs
- DataAccessor.cs
- XmlEncodedRawTextWriter.cs
- ComponentCommands.cs
- ValidationRuleCollection.cs
- WindowsAuthenticationModule.cs
- MimeTypeAttribute.cs
- ClientFormsAuthenticationCredentials.cs
- DBCommandBuilder.cs
- BaseCollection.cs
- XsdSchemaFileEditor.cs
- _SpnDictionary.cs
- ProbeDuplexAsyncResult.cs
- Pair.cs
- PolyLineSegment.cs
- DockAndAnchorLayout.cs
- TrackingMemoryStreamFactory.cs
- QuaternionAnimation.cs
- BindingManagerDataErrorEventArgs.cs
- Utilities.cs
- LinqDataSourceDisposeEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- Annotation.cs
- AuthenticationModuleElementCollection.cs
- CompilerResults.cs
- CompiledQueryCacheEntry.cs
- SystemIPGlobalProperties.cs
- AssemblyCacheEntry.cs
- Rotation3DAnimationBase.cs
- Int32Rect.cs
- TreeViewDataItemAutomationPeer.cs
- Ref.cs
- autovalidator.cs
- BitmapEffectGeneralTransform.cs
- SignatureResourcePool.cs
- SecurityPolicySection.cs
- AnimatedTypeHelpers.cs
- HostedImpersonationContext.cs
- ComponentEditorForm.cs
- CompiledQueryCacheEntry.cs
- IdnElement.cs
- DataGridTablesFactory.cs
- SamlSecurityToken.cs
- HostingEnvironment.cs
- PenThreadPool.cs
- XmlTypeAttribute.cs
- Substitution.cs
- TextDpi.cs
- ImmutableCollection.cs
- XPathEmptyIterator.cs
- DataColumnPropertyDescriptor.cs
- ReadWriteSpinLock.cs
- securestring.cs
- PrtTicket_Base.cs
- MessageHeaderAttribute.cs
- BulletChrome.cs
- ControlDesignerState.cs
- DataTableNewRowEvent.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- QilInvokeEarlyBound.cs
- ScriptMethodAttribute.cs
- EastAsianLunisolarCalendar.cs
- WindowsBrush.cs
- DatePickerDateValidationErrorEventArgs.cs
- HeaderUtility.cs
- XmlSchemaProviderAttribute.cs
- OuterGlowBitmapEffect.cs
- ProcessHostConfigUtils.cs
- MSAAEventDispatcher.cs
- BindValidator.cs
- ConfigurationElementCollection.cs
- TypeElement.cs
- DataRow.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- PropertyEmitter.cs
- SqlUtils.cs
- ClientScriptManager.cs
- CodeDomExtensionMethods.cs
- StorageBasedPackageProperties.cs
- NegatedCellConstant.cs
- DrawingImage.cs
- ValidatorCompatibilityHelper.cs
- InvalidProgramException.cs
- Zone.cs