Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelEventArgs.cs / 1 / WebPartConnectionsCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.ComponentModel; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- X509Utils.cs
- AddingNewEventArgs.cs
- EventInfo.cs
- Update.cs
- PseudoWebRequest.cs
- JulianCalendar.cs
- DataGridViewDataConnection.cs
- WSFederationHttpSecurity.cs
- httpserverutility.cs
- ExternalCalls.cs
- KerberosSecurityTokenAuthenticator.cs
- ToolBar.cs
- DecoratedNameAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- AnnotationAuthorChangedEventArgs.cs
- FtpWebResponse.cs
- TableMethodGenerator.cs
- BinaryCommonClasses.cs
- BufferModeSettings.cs
- PropertyEntry.cs
- EntityDataSourceReferenceGroup.cs
- StreamHelper.cs
- CodeCommentStatementCollection.cs
- CategoryAttribute.cs
- Renderer.cs
- SmtpAuthenticationManager.cs
- FirstMatchCodeGroup.cs
- SignatureResourceHelper.cs
- DSASignatureFormatter.cs
- SafeEventLogReadHandle.cs
- HashStream.cs
- AnimationLayer.cs
- LinqDataSource.cs
- CodeDefaultValueExpression.cs
- IgnoreDeviceFilterElementCollection.cs
- MSAANativeProvider.cs
- SelectionWordBreaker.cs
- FacetDescription.cs
- ListViewDataItem.cs
- _AutoWebProxyScriptWrapper.cs
- BufferBuilder.cs
- TemplateBamlRecordReader.cs
- ThrowHelper.cs
- ThreadStartException.cs
- CopyOfAction.cs
- Update.cs
- SqlDataSourceCache.cs
- OLEDB_Enum.cs
- UpdateCommandGenerator.cs
- mansign.cs
- dsa.cs
- RuntimeCompatibilityAttribute.cs
- Pen.cs
- PassportPrincipal.cs
- SecureConversationDriver.cs
- GeneralTransform2DTo3D.cs
- DataSourceHelper.cs
- ClientSession.cs
- StylusOverProperty.cs
- DefaultValueConverter.cs
- AnimationClockResource.cs
- ForeignConstraint.cs
- DbMetaDataColumnNames.cs
- ChangesetResponse.cs
- LayoutEditorPart.cs
- IndependentAnimationStorage.cs
- XslVisitor.cs
- ManipulationStartingEventArgs.cs
- SecurityRuntime.cs
- ScaleTransform.cs
- SoapHeaderException.cs
- SymDocumentType.cs
- ExceptionUtil.cs
- HwndSource.cs
- TreeViewAutomationPeer.cs
- BuilderInfo.cs
- WebScriptMetadataMessageEncoderFactory.cs
- DataAccessException.cs
- AnnotationAdorner.cs
- ImageFormat.cs
- SelectionProviderWrapper.cs
- PropertyMap.cs
- Row.cs
- XmlDictionaryReader.cs
- ManagedIStream.cs
- EpmCustomContentWriterNodeData.cs
- OrderedDictionary.cs
- FlagsAttribute.cs
- JsonStringDataContract.cs
- SerialStream.cs
- RuntimeHelpers.cs
- Int32.cs
- EmptyEnumerator.cs
- ImageField.cs
- SqlDataSourceCommandEventArgs.cs
- sqlmetadatafactory.cs
- Utility.cs
- UIPropertyMetadata.cs
- DataExpression.cs
- WorkflowRequestContext.cs