Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / ProviderConnectionPoint.cs / 1305376 / ProviderConnectionPoint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Reflection; using System.Web; using System.Web.Util; public class ProviderConnectionPoint : ConnectionPoint { // Used by WebPartManager to verify the custom ConnectionPoint type has // the correct constructor signature. internal static readonly Type[] ConstructorTypes; static ProviderConnectionPoint() { ConstructorInfo constructor = typeof(ProviderConnectionPoint).GetConstructors()[0]; ConstructorTypes = WebPartUtil.GetTypesForConstructor(constructor); } public ProviderConnectionPoint(MethodInfo callbackMethod, Type interfaceType, Type controlType, string displayName, string id, bool allowsMultipleConnections) : base( callbackMethod, interfaceType, controlType, displayName, id, allowsMultipleConnections) { } ////// The secondary interfaces for this connection point. An exception will be thrown /// if primary interfaces are returned in this collection. /// public virtual ConnectionInterfaceCollection GetSecondaryInterfaces(Control control) { return ConnectionInterfaceCollection.Empty; } public virtual object GetObject(Control control) { if (control == null) { throw new ArgumentNullException("control"); } return CallbackMethod.Invoke(control, null); } } } // 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
- NonNullItemCollection.cs
- ReturnValue.cs
- ImageCodecInfo.cs
- BaseParser.cs
- RawTextInputReport.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- HtmlSelect.cs
- ArrayList.cs
- InternalMappingException.cs
- PrinterUnitConvert.cs
- EntityDataReader.cs
- Viewport2DVisual3D.cs
- SystemFonts.cs
- XmlCharCheckingReader.cs
- SplineKeyFrames.cs
- CustomAssemblyResolver.cs
- CalloutQueueItem.cs
- DiagnosticTraceSource.cs
- HtmlInputSubmit.cs
- UniqueID.cs
- ModelFactory.cs
- ClientFormsAuthenticationMembershipProvider.cs
- EventSinkHelperWriter.cs
- IdnElement.cs
- HttpRuntime.cs
- ProcessManager.cs
- Rect3DValueSerializer.cs
- NativeMethods.cs
- CodeAttributeDeclarationCollection.cs
- CustomAttributeBuilder.cs
- ServiceModelPerformanceCounters.cs
- RouteParameter.cs
- HttpCapabilitiesSectionHandler.cs
- XmlComplianceUtil.cs
- CompilerError.cs
- LinqDataSource.cs
- TableRowsCollectionEditor.cs
- MarginsConverter.cs
- LoginView.cs
- DataBoundControlAdapter.cs
- ContentPropertyAttribute.cs
- Ipv6Element.cs
- _FixedSizeReader.cs
- HttpsHostedTransportConfiguration.cs
- NotConverter.cs
- InstallerTypeAttribute.cs
- XsdValidatingReader.cs
- DockingAttribute.cs
- GroupBoxRenderer.cs
- FlatButtonAppearance.cs
- XamlValidatingReader.cs
- TableCellCollection.cs
- UniqueEventHelper.cs
- WindowsListBox.cs
- assemblycache.cs
- DesignOnlyAttribute.cs
- XmlStreamStore.cs
- WindowsRegion.cs
- SerialPort.cs
- WebPartConnectionsCancelVerb.cs
- WebPartEditorApplyVerb.cs
- CompensationHandlingFilter.cs
- Invariant.cs
- SecurityException.cs
- Util.cs
- Point3DCollectionConverter.cs
- ToolboxCategory.cs
- SpecialNameAttribute.cs
- FontDialog.cs
- ImageClickEventArgs.cs
- ScrollProperties.cs
- RtfNavigator.cs
- WrappedIUnknown.cs
- EntityDataSourceReferenceGroup.cs
- SoapMessage.cs
- RightsManagementErrorHandler.cs
- FrameworkRichTextComposition.cs
- XmlDigitalSignatureProcessor.cs
- SByteConverter.cs
- ImageFormatConverter.cs
- NavigationHelper.cs
- TemplateContentLoader.cs
- FixedSchema.cs
- ContentPlaceHolder.cs
- ByteRangeDownloader.cs
- DataSourceControl.cs
- WebPartMenuStyle.cs
- cryptoapiTransform.cs
- HostVisual.cs
- MatrixCamera.cs
- CopyCodeAction.cs
- SystemThemeKey.cs
- XPathNodeHelper.cs
- DesignTimeVisibleAttribute.cs
- DropDownList.cs
- SchemaName.cs
- TransactionsSectionGroup.cs
- DependentList.cs
- RuntimeUtils.cs
- ReachDocumentReferenceCollectionSerializer.cs