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
- PathSegment.cs
- Delegate.cs
- ThicknessAnimationBase.cs
- ActivityExecutorSurrogate.cs
- MouseDevice.cs
- Peer.cs
- MetadataArtifactLoaderFile.cs
- ListItemCollection.cs
- GC.cs
- XPathDocumentNavigator.cs
- GenericTypeParameterConverter.cs
- CodeAttributeDeclaration.cs
- EnterpriseServicesHelper.cs
- ColorMatrix.cs
- SoapCodeExporter.cs
- ArgumentElement.cs
- DataReceivedEventArgs.cs
- WebBrowserNavigatingEventHandler.cs
- AttributeSetAction.cs
- ComponentEvent.cs
- BitmapEffectState.cs
- TypeElement.cs
- JavaScriptString.cs
- EntryPointNotFoundException.cs
- CurrentChangingEventArgs.cs
- PartitionResolver.cs
- EmbossBitmapEffect.cs
- MappingModelBuildProvider.cs
- DesignerSerializerAttribute.cs
- BoundField.cs
- SessionState.cs
- TracePayload.cs
- UnsignedPublishLicense.cs
- MultiAsyncResult.cs
- TextFormatterImp.cs
- SynchronizedRandom.cs
- Helper.cs
- Solver.cs
- DoubleKeyFrameCollection.cs
- CmsInterop.cs
- XmlObjectSerializerReadContext.cs
- ChooseAction.cs
- ConsoleTraceListener.cs
- AssemblyAttributesGoHere.cs
- FixedSOMImage.cs
- ColumnClickEvent.cs
- PropertyCondition.cs
- HttpContext.cs
- SqlReferenceCollection.cs
- TraceListener.cs
- UrlMappingsModule.cs
- OLEDB_Util.cs
- RIPEMD160.cs
- StaticDataManager.cs
- ViewValidator.cs
- RegistryPermission.cs
- BuildManagerHost.cs
- CapabilitiesRule.cs
- SqlFacetAttribute.cs
- AssemblyUtil.cs
- LogWriteRestartAreaState.cs
- Expressions.cs
- InputScopeConverter.cs
- HostProtectionPermission.cs
- SingleResultAttribute.cs
- httpstaticobjectscollection.cs
- DropShadowBitmapEffect.cs
- WrappedIUnknown.cs
- InputLanguageProfileNotifySink.cs
- DataGridViewCellFormattingEventArgs.cs
- ListMarkerLine.cs
- DockPanel.cs
- ConfigDefinitionUpdates.cs
- DataTableExtensions.cs
- PolicyException.cs
- ActivityPreviewDesigner.cs
- BinaryMessageEncodingElement.cs
- SectionInformation.cs
- NeutralResourcesLanguageAttribute.cs
- ProfileEventArgs.cs
- ETagAttribute.cs
- WebServiceMethodData.cs
- Misc.cs
- MatrixCamera.cs
- NonVisualControlAttribute.cs
- ActivityInstanceReference.cs
- XmlDomTextWriter.cs
- Psha1DerivedKeyGeneratorHelper.cs
- ContactManager.cs
- NoneExcludedImageIndexConverter.cs
- EntityDataSourceStatementEditorForm.cs
- BasePattern.cs
- _RequestCacheProtocol.cs
- IncrementalReadDecoders.cs
- OleDbConnectionInternal.cs
- ProcessModuleDesigner.cs
- SQLInt16Storage.cs
- ExtensionDataReader.cs
- GlyphManager.cs
- ParserContext.cs