Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelEventArgs.cs / 1305376 / WebPartConnectionsCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.ComponentModel; public class WebPartConnectionsCancelEventArgs : CancelEventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsCancelEventArgs(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 WebPartConnectionsCancelEventArgs(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; using System.ComponentModel; public class WebPartConnectionsCancelEventArgs : CancelEventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsCancelEventArgs(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 WebPartConnectionsCancelEventArgs(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
- ParameterElementCollection.cs
- WebSysDefaultValueAttribute.cs
- FrameAutomationPeer.cs
- FixedTextView.cs
- Focus.cs
- ResourceDescriptionAttribute.cs
- PropertyChangingEventArgs.cs
- PolyLineSegment.cs
- MatrixAnimationUsingPath.cs
- LogSwitch.cs
- BoundsDrawingContextWalker.cs
- DynamicDataExtensions.cs
- MachineKeyConverter.cs
- DispatcherExceptionFilterEventArgs.cs
- XmlReturnReader.cs
- PersistenceTypeAttribute.cs
- Event.cs
- ToolStripDropDownClosedEventArgs.cs
- HybridDictionary.cs
- ManifestSignatureInformation.cs
- EventLogWatcher.cs
- CompilationUtil.cs
- ResXDataNode.cs
- DataContractJsonSerializer.cs
- MenuItem.cs
- Ports.cs
- UrlMappingsSection.cs
- InputProcessorProfiles.cs
- ProcessingInstructionAction.cs
- SmtpCommands.cs
- ChangeDirector.cs
- BeginEvent.cs
- WaitHandleCannotBeOpenedException.cs
- XmlTextAttribute.cs
- MediaContext.cs
- ArrayList.cs
- StyleReferenceConverter.cs
- Matrix.cs
- ComboBox.cs
- ApplicationId.cs
- SrgsElementFactoryCompiler.cs
- DbConnectionOptions.cs
- UIElement.cs
- SqlCommandSet.cs
- ReferentialConstraintRoleElement.cs
- DependencyObjectType.cs
- Util.cs
- WasEndpointConfigContainer.cs
- SmtpFailedRecipientsException.cs
- RadioButton.cs
- ToolStripSeparator.cs
- StrokeNodeData.cs
- SchemaAttDef.cs
- User.cs
- ExtensionFile.cs
- EventLogHandle.cs
- Point4D.cs
- HttpApplicationStateBase.cs
- XmlSchemaAny.cs
- ExtendedPropertyDescriptor.cs
- TimeZone.cs
- GiveFeedbackEvent.cs
- TextPointerBase.cs
- Encoder.cs
- DataGridViewColumnCollectionEditor.cs
- RelativeSource.cs
- ExpandableObjectConverter.cs
- ImageSourceTypeConverter.cs
- TextLineBreak.cs
- Parallel.cs
- AssemblyResourceLoader.cs
- XdrBuilder.cs
- SHA1CryptoServiceProvider.cs
- ConcatQueryOperator.cs
- PersonalizationProviderHelper.cs
- Control.cs
- LinkTarget.cs
- ProtocolState.cs
- XmlSchemaComplexContentRestriction.cs
- httpapplicationstate.cs
- wgx_exports.cs
- DataExpression.cs
- PlatformNotSupportedException.cs
- HostedBindingBehavior.cs
- PropertyRef.cs
- DataSourceControl.cs
- UnionCodeGroup.cs
- MeasureData.cs
- ImageBrush.cs
- NestPullup.cs
- EntityDataSourceUtil.cs
- CodeSubDirectoriesCollection.cs
- Compiler.cs
- MemoryStream.cs
- XhtmlStyleClass.cs
- DoubleKeyFrameCollection.cs
- CategoryNameCollection.cs
- SqlDataReader.cs
- HMACSHA384.cs
- StylusPointPropertyId.cs