Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ControlBuilderAttribute.cs / 1 / ControlBuilderAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ControlBuilderAttribute : Attribute { ///Allows a control to specify a custom ///object /// for building that control within the ASP.NET parser. /// /// public static readonly ControlBuilderAttribute Default = new ControlBuilderAttribute(null); private Type builderType = null; ///The default ///object is a /// builder. This field is read-only. /// public ControlBuilderAttribute(Type builderType) { this.builderType = builderType; } ////// public Type BuilderType { get { return builderType; } } ///Indicates XXX. This property is read-only. ////// /// public override int GetHashCode() { return ((BuilderType != null) ? BuilderType.GetHashCode() : 0); } ///[To be supplied.] ////// /// public override bool Equals(object obj) { if (obj == this) { return true; } if ((obj != null) && (obj is ControlBuilderAttribute)) { return((ControlBuilderAttribute)obj).BuilderType == builderType; } return false; } ////// ///public override bool IsDefaultAttribute() { return this.Equals(Default); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HelpEvent.cs
- PropertyTabChangedEvent.cs
- UnsignedPublishLicense.cs
- EntityDataSourceState.cs
- ImportOptions.cs
- TextServicesCompartmentEventSink.cs
- SystemUdpStatistics.cs
- FilteredXmlReader.cs
- TraceContextEventArgs.cs
- XmlJsonReader.cs
- WebServicesDescriptionAttribute.cs
- DisplayInformation.cs
- PixelFormats.cs
- ShaderEffect.cs
- BaseTreeIterator.cs
- SQLDoubleStorage.cs
- CommandConverter.cs
- ComplexPropertyEntry.cs
- ScrollBar.cs
- PageBreakRecord.cs
- TcpStreams.cs
- DbProviderFactoriesConfigurationHandler.cs
- LabelExpression.cs
- Image.cs
- FormsAuthenticationUserCollection.cs
- ExtendedTransformFactory.cs
- GlobalizationSection.cs
- SoapExtensionTypeElement.cs
- AppearanceEditorPart.cs
- sqlmetadatafactory.cs
- PackWebResponse.cs
- Misc.cs
- XmlSchemaAttributeGroup.cs
- PinProtectionHelper.cs
- SqlStatistics.cs
- BufferedWebEventProvider.cs
- TextTreeText.cs
- UnsafeNativeMethods.cs
- TogglePatternIdentifiers.cs
- SecurityHeaderElementInferenceEngine.cs
- RuleRef.cs
- RenderTargetBitmap.cs
- EntityRecordInfo.cs
- CharacterMetrics.cs
- Helper.cs
- WebSysDefaultValueAttribute.cs
- PopupRoot.cs
- ConcatQueryOperator.cs
- PersistChildrenAttribute.cs
- LeafCellTreeNode.cs
- cookiecontainer.cs
- ListBoxDesigner.cs
- MatrixTransform.cs
- SQLMembershipProvider.cs
- CompressedStack.cs
- ColorContextHelper.cs
- CacheModeConverter.cs
- TreeViewImageIndexConverter.cs
- IDispatchConstantAttribute.cs
- DatagridviewDisplayedBandsData.cs
- SendKeys.cs
- Int32CollectionValueSerializer.cs
- HandleExceptionArgs.cs
- ImageDrawing.cs
- AssemblyName.cs
- GridViewColumnHeaderAutomationPeer.cs
- PointAnimationUsingKeyFrames.cs
- EasingFunctionBase.cs
- CodeParameterDeclarationExpressionCollection.cs
- XmlTextReaderImpl.cs
- Brush.cs
- _TLSstream.cs
- XmlSchemaObjectTable.cs
- DPCustomTypeDescriptor.cs
- DateTimeSerializationSection.cs
- XmlWriterTraceListener.cs
- TextMetrics.cs
- DateTimeSerializationSection.cs
- MediaScriptCommandRoutedEventArgs.cs
- Label.cs
- PtsContext.cs
- HighlightComponent.cs
- PrivateFontCollection.cs
- ValidationEventArgs.cs
- TreeView.cs
- GridViewEditEventArgs.cs
- ValueTypePropertyReference.cs
- ReachFixedDocumentSerializer.cs
- CopyAttributesAction.cs
- GeneralTransform3D.cs
- NetworkStream.cs
- DecimalConverter.cs
- StylusButton.cs
- _RequestCacheProtocol.cs
- SystemSounds.cs
- EntityDesignerBuildProvider.cs
- ArgumentException.cs
- Connector.xaml.cs
- FormViewDesigner.cs
- CrossContextChannel.cs