Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ControlBuilderAttribute.cs / 1305376 / 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)] 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrintPreviewGraphics.cs
- AtomContentProperty.cs
- XmlSchemaType.cs
- XamlBrushSerializer.cs
- PropertyEmitter.cs
- GenericRootAutomationPeer.cs
- messageonlyhwndwrapper.cs
- Material.cs
- DesignerProperties.cs
- SecureEnvironment.cs
- ImportContext.cs
- StatusBarAutomationPeer.cs
- XamlRtfConverter.cs
- TextBoxAutomationPeer.cs
- ConfigurationStrings.cs
- FrugalList.cs
- WebRequest.cs
- QueryOperationResponseOfT.cs
- Vector3dCollection.cs
- DataGridViewIntLinkedList.cs
- GenericsNotImplementedException.cs
- HttpListenerPrefixCollection.cs
- HandleCollector.cs
- PassportAuthenticationModule.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ViewKeyConstraint.cs
- AutomationPropertyInfo.cs
- ItemsControlAutomationPeer.cs
- CellPartitioner.cs
- SoapAttributes.cs
- EntityClassGenerator.cs
- ExtensionWindow.cs
- ErrorReporting.cs
- EarlyBoundInfo.cs
- PageParser.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TextProperties.cs
- ProxyHwnd.cs
- StringValidator.cs
- objectresult_tresulttype.cs
- Debug.cs
- XmlBuffer.cs
- TypeReference.cs
- BoundColumn.cs
- StringUtil.cs
- ListMarkerLine.cs
- DataGridViewCellEventArgs.cs
- loginstatus.cs
- EtwTrace.cs
- RoutedUICommand.cs
- EventDescriptor.cs
- WeakReferenceList.cs
- MenuItemStyle.cs
- AnyReturnReader.cs
- SpecularMaterial.cs
- GlobalItem.cs
- FieldAccessException.cs
- UriScheme.cs
- ObjectQueryProvider.cs
- RowType.cs
- InvalidPrinterException.cs
- DeviceContext.cs
- TransactionManager.cs
- PolyBezierSegment.cs
- Renderer.cs
- GenericIdentity.cs
- columnmapfactory.cs
- DataBindingCollection.cs
- SharedPersonalizationStateInfo.cs
- Contracts.cs
- NamedPipeTransportBindingElement.cs
- IPipelineRuntime.cs
- XmlSchemaSimpleContentExtension.cs
- Stream.cs
- DataServiceHost.cs
- WorkflowElementDialogWindow.xaml.cs
- Point3DCollection.cs
- SQLInt32Storage.cs
- SqlUDTStorage.cs
- XmlSecureResolver.cs
- Pair.cs
- InputMethodStateTypeInfo.cs
- BooleanAnimationBase.cs
- MenuRendererClassic.cs
- FocusTracker.cs
- ExpressionNode.cs
- HandlerElementCollection.cs
- InputScope.cs
- FixedPosition.cs
- ReferenceEqualityComparer.cs
- Polygon.cs
- DocumentPageView.cs
- FontFamily.cs
- ThicknessAnimationUsingKeyFrames.cs
- StringToken.cs
- SelectionRangeConverter.cs
- EditorPart.cs
- HuffCodec.cs
- Stroke2.cs
- CompModSwitches.cs