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
- SettingsBindableAttribute.cs
- EpmCustomContentWriterNodeData.cs
- XmlSerializer.cs
- SR.cs
- DataBoundControl.cs
- SiteMapPath.cs
- BooleanAnimationBase.cs
- TextDecorationCollection.cs
- Int32KeyFrameCollection.cs
- TextServicesContext.cs
- handlecollector.cs
- CqlQuery.cs
- ByteAnimation.cs
- ChannelSinkStacks.cs
- CommandDevice.cs
- ActivityWithResult.cs
- NullReferenceException.cs
- UpDownEvent.cs
- TreeNodeConverter.cs
- TabControlEvent.cs
- TreeViewEvent.cs
- HatchBrush.cs
- IsolatedStorageFilePermission.cs
- DataGridPagerStyle.cs
- DSASignatureFormatter.cs
- Vector3dCollection.cs
- ColumnMapTranslator.cs
- future.cs
- DbConnectionPoolGroup.cs
- EntityProviderServices.cs
- AttachmentCollection.cs
- BuildProvider.cs
- SafeArrayRankMismatchException.cs
- IApplicationTrustManager.cs
- RelatedImageListAttribute.cs
- OleDbWrapper.cs
- DaylightTime.cs
- Empty.cs
- InternalTypeHelper.cs
- PowerModeChangedEventArgs.cs
- DiscreteKeyFrames.cs
- KeyInstance.cs
- XPathDescendantIterator.cs
- regiisutil.cs
- SeekableReadStream.cs
- SqlBooleanMismatchVisitor.cs
- TextWriter.cs
- DescendantQuery.cs
- AsymmetricSignatureFormatter.cs
- ObjectIDGenerator.cs
- DescendentsWalker.cs
- Rotation3DAnimationUsingKeyFrames.cs
- DataGridViewRowPrePaintEventArgs.cs
- DataTemplateKey.cs
- KeyBinding.cs
- ImportRequest.cs
- DependencyObjectProvider.cs
- XmlConvert.cs
- BitmapEffectDrawingContextState.cs
- MetadataCacheItem.cs
- Positioning.cs
- ObjectStorage.cs
- ConfigXmlComment.cs
- ScriptingRoleServiceSection.cs
- CharacterString.cs
- TypedReference.cs
- FieldAccessException.cs
- DesignerDataView.cs
- QueryCacheEntry.cs
- FunctionQuery.cs
- RefExpr.cs
- CompilerScopeManager.cs
- ContentFilePart.cs
- FormatConvertedBitmap.cs
- Odbc32.cs
- WebPartVerb.cs
- ChangePassword.cs
- ClientBuildManagerCallback.cs
- TextDecorationCollection.cs
- TransactionTable.cs
- SmtpCommands.cs
- SoapExtensionReflector.cs
- CornerRadiusConverter.cs
- BadImageFormatException.cs
- LongMinMaxAggregationOperator.cs
- DataGridPageChangedEventArgs.cs
- ProfileSection.cs
- BinaryObjectReader.cs
- _UriSyntax.cs
- Semaphore.cs
- TargetFrameworkAttribute.cs
- DbConnectionStringBuilder.cs
- PasswordDeriveBytes.cs
- XsdDataContractImporter.cs
- BooleanAnimationBase.cs
- CodeArrayIndexerExpression.cs
- Compiler.cs
- FontStyles.cs
- MasterPageParser.cs
- InsufficientExecutionStackException.cs