Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RubberbandSelector.cs
- IPEndPoint.cs
- ControlFilterExpression.cs
- NumberFormatInfo.cs
- DbConnectionInternal.cs
- Gdiplus.cs
- RunInstallerAttribute.cs
- GridViewColumn.cs
- UnSafeCharBuffer.cs
- SingleAnimationBase.cs
- BitVector32.cs
- WorkflowMarkupSerializerMapping.cs
- PagerSettings.cs
- SqlGenericUtil.cs
- FixedPageAutomationPeer.cs
- CultureInfoConverter.cs
- Merger.cs
- Token.cs
- DataContext.cs
- RtType.cs
- AnnotationComponentManager.cs
- GridViewCellAutomationPeer.cs
- Profiler.cs
- DataRow.cs
- LogStream.cs
- __ConsoleStream.cs
- InstanceHandleReference.cs
- OdbcEnvironment.cs
- XmlChoiceIdentifierAttribute.cs
- ClientScriptManagerWrapper.cs
- serverconfig.cs
- DataTemplateSelector.cs
- SchemaNotation.cs
- ResourceExpressionEditorSheet.cs
- Pair.cs
- BamlBinaryWriter.cs
- SamlAssertionKeyIdentifierClause.cs
- FormViewDeleteEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- OdbcConnectionOpen.cs
- MatrixCamera.cs
- DateTimeOffset.cs
- UrlMapping.cs
- DataGridViewCellStyleConverter.cs
- PersonalizationState.cs
- ResXFileRef.cs
- CallbackValidatorAttribute.cs
- GraphicsContext.cs
- NameValueCollection.cs
- TypeDescriptionProviderAttribute.cs
- TimeSpanValidatorAttribute.cs
- IndicCharClassifier.cs
- PersonalizationState.cs
- XamlTypeMapper.cs
- DoWhile.cs
- FileAccessException.cs
- EntityProviderServices.cs
- DataGridViewButtonCell.cs
- x509store.cs
- TimeIntervalCollection.cs
- ObjectManager.cs
- WinCategoryAttribute.cs
- XPathBinder.cs
- TextTreeUndo.cs
- ArrayItemReference.cs
- XmlSchemaAttributeGroup.cs
- DynamicDataResources.Designer.cs
- SystemResourceKey.cs
- WindowsSolidBrush.cs
- Scalars.cs
- Transform3DGroup.cs
- WebContext.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- ProxyHwnd.cs
- WorkflowOperationBehavior.cs
- dataprotectionpermission.cs
- AttributeProviderAttribute.cs
- PropertyEntry.cs
- SqlCommandBuilder.cs
- DispatcherTimer.cs
- XAMLParseException.cs
- WindowsAuthenticationModule.cs
- Identity.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- Membership.cs
- ImageField.cs
- updateconfighost.cs
- DashStyle.cs
- CodeLabeledStatement.cs
- CharEntityEncoderFallback.cs
- RuleSetDialog.cs
- IPHostEntry.cs
- PasswordDeriveBytes.cs
- IncomingWebRequestContext.cs
- ErrorRuntimeConfig.cs
- Properties.cs
- ListViewItem.cs
- LogLogRecord.cs
- SqlBuilder.cs
- DependencyPropertyKey.cs