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
- ExpandableObjectConverter.cs
- OleDbRowUpdatingEvent.cs
- CodeLabeledStatement.cs
- TextEditorDragDrop.cs
- DecimalAnimationBase.cs
- StrongName.cs
- MaskDesignerDialog.cs
- GridViewAutoFormat.cs
- WebDescriptionAttribute.cs
- BitmapEffectDrawing.cs
- NameNode.cs
- WebPartDescription.cs
- HtmlGenericControl.cs
- SqlWriter.cs
- basecomparevalidator.cs
- Message.cs
- DataMemberFieldConverter.cs
- Vector3DCollection.cs
- TypeUtils.cs
- HiddenField.cs
- DataPagerFieldCollection.cs
- FileLevelControlBuilderAttribute.cs
- PageFunction.cs
- ObjectListComponentEditor.cs
- BufferedReceiveElement.cs
- Rfc2898DeriveBytes.cs
- StyleBamlRecordReader.cs
- GridViewCancelEditEventArgs.cs
- SafeArrayTypeMismatchException.cs
- Storyboard.cs
- DescendentsWalkerBase.cs
- CachedFontFace.cs
- SuppressIldasmAttribute.cs
- ADMembershipProvider.cs
- DSASignatureDeformatter.cs
- PropertyReferenceExtension.cs
- LeaseManager.cs
- NotifyParentPropertyAttribute.cs
- DesignTimeTemplateParser.cs
- WindowsFormsHostPropertyMap.cs
- ScrollItemPattern.cs
- DataGridViewCellConverter.cs
- SQLInt32.cs
- TextFormatter.cs
- StaticResourceExtension.cs
- TextEndOfParagraph.cs
- Matrix3D.cs
- FontStyleConverter.cs
- StdValidatorsAndConverters.cs
- EntityContainer.cs
- Rectangle.cs
- AnimationException.cs
- AppSecurityManager.cs
- WindowsRebar.cs
- ConfigsHelper.cs
- CompModSwitches.cs
- SQLBinaryStorage.cs
- CompModSwitches.cs
- PropertyMetadata.cs
- TextControl.cs
- GlyphRunDrawing.cs
- ProgressBar.cs
- ListViewInsertionMark.cs
- ConnectionManagementElement.cs
- TextEvent.cs
- ResourceReader.cs
- CancellationTokenRegistration.cs
- MsmqAppDomainProtocolHandler.cs
- ControlCodeDomSerializer.cs
- NameSpaceExtractor.cs
- FilteredDataSetHelper.cs
- ScrollItemProviderWrapper.cs
- SinglePageViewer.cs
- FullTrustAssembliesSection.cs
- XmlAttribute.cs
- WebPartConnectionsEventArgs.cs
- CheckBoxAutomationPeer.cs
- FontStyles.cs
- SchemaComplexType.cs
- IisHelper.cs
- ColorBlend.cs
- IgnoreFileBuildProvider.cs
- TdsParserStaticMethods.cs
- DataStreams.cs
- DependencyPropertyHelper.cs
- CompilerScopeManager.cs
- XPathArrayIterator.cs
- EmptyElement.cs
- SamlSubjectStatement.cs
- DataGridViewButtonColumn.cs
- SuppressedPackageProperties.cs
- QilReplaceVisitor.cs
- mediaeventshelper.cs
- CodeMemberMethod.cs
- CompilerParameters.cs
- SqlCachedBuffer.cs
- LocationUpdates.cs
- DesignTimeTemplateParser.cs
- TemplateApplicationHelper.cs
- FilterUserControlBase.cs