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
- OleDbParameter.cs
- DataPagerFieldCommandEventArgs.cs
- CrossAppDomainChannel.cs
- ThicknessAnimationBase.cs
- HttpCookieCollection.cs
- WindowsTitleBar.cs
- _SslSessionsCache.cs
- ClientCultureInfo.cs
- NonSerializedAttribute.cs
- MessageOperationFormatter.cs
- TreeNodeConverter.cs
- Pair.cs
- GlyphShapingProperties.cs
- NavigationExpr.cs
- COM2ExtendedUITypeEditor.cs
- Choices.cs
- TextServicesProperty.cs
- TrustSection.cs
- ServiceMemoryGates.cs
- SqlDataSourceSelectingEventArgs.cs
- CommandHelper.cs
- EventDescriptor.cs
- ParserOptions.cs
- ReplyAdapterChannelListener.cs
- SafeNativeMethodsMilCoreApi.cs
- GCHandleCookieTable.cs
- AutoGeneratedFieldProperties.cs
- RelatedView.cs
- TreeWalkHelper.cs
- UTF7Encoding.cs
- Vector3D.cs
- PageStatePersister.cs
- DocComment.cs
- BuildTopDownAttribute.cs
- DataViewSettingCollection.cs
- Binding.cs
- SpotLight.cs
- InputGestureCollection.cs
- QilDataSource.cs
- AsyncSerializedWorker.cs
- XmlReturnReader.cs
- SoapEnumAttribute.cs
- BaseValidator.cs
- NumericExpr.cs
- InkCanvasInnerCanvas.cs
- CompositeControl.cs
- ObjectPropertyMapping.cs
- ScriptMethodAttribute.cs
- Classification.cs
- SecurityManager.cs
- HijriCalendar.cs
- CheckBoxStandardAdapter.cs
- ConfigsHelper.cs
- FormatVersion.cs
- EditModeSwitchButton.cs
- CriticalHandle.cs
- AuthenticationService.cs
- XmlnsCache.cs
- ScriptReferenceBase.cs
- EdgeModeValidation.cs
- ShaperBuffers.cs
- RemoteX509Token.cs
- WebPartHelpVerb.cs
- UserControl.cs
- PackageFilter.cs
- TransformGroup.cs
- UseManagedPresentationBindingElementImporter.cs
- DEREncoding.cs
- InvalidProgramException.cs
- StorageConditionPropertyMapping.cs
- MimeMultiPart.cs
- ZoneMembershipCondition.cs
- RichTextBox.cs
- iisPickupDirectory.cs
- InternalBase.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- BCryptHashAlgorithm.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ShapeTypeface.cs
- X500Name.cs
- GeometryModel3D.cs
- XsltConvert.cs
- SortKey.cs
- BrowserCapabilitiesFactoryBase.cs
- ContentTextAutomationPeer.cs
- BatchStream.cs
- RequestCache.cs
- BitmapPalettes.cs
- DefaultHttpHandler.cs
- CategoryAttribute.cs
- ParseNumbers.cs
- GeneralTransformGroup.cs
- CommentEmitter.cs
- SmiRecordBuffer.cs
- AttributedMetaModel.cs
- NetWebProxyFinder.cs
- ViewGenerator.cs
- XmlExpressionDumper.cs
- XmlElement.cs
- ToolStripContainer.cs