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
- HMACRIPEMD160.cs
- MenuItem.cs
- HwndTarget.cs
- Module.cs
- UIElementParagraph.cs
- Hash.cs
- TrackingMemoryStream.cs
- RowUpdatedEventArgs.cs
- WebPartVerbCollection.cs
- AnnotationResourceCollection.cs
- DataTableNewRowEvent.cs
- TableAutomationPeer.cs
- OdbcEnvironmentHandle.cs
- WebPartUserCapability.cs
- DummyDataSource.cs
- SendMailErrorEventArgs.cs
- PersonalizableTypeEntry.cs
- CodeTypeDelegate.cs
- SimpleTextLine.cs
- WebHttpBindingCollectionElement.cs
- IdnMapping.cs
- ResourceReader.cs
- UnsignedPublishLicense.cs
- DbDataAdapter.cs
- BeginCreateSecurityTokenRequest.cs
- Exception.cs
- WebPartCancelEventArgs.cs
- RadioButtonFlatAdapter.cs
- XamlStyleSerializer.cs
- HtmlInputRadioButton.cs
- EtwTrace.cs
- ToolStripItemCollection.cs
- BamlResourceSerializer.cs
- IPGlobalProperties.cs
- DesignerForm.cs
- ProtectedProviderSettings.cs
- ListViewDataItem.cs
- SettingsAttributeDictionary.cs
- GradientBrush.cs
- WorkerRequest.cs
- Matrix3D.cs
- PackageProperties.cs
- ControlPersister.cs
- OrthographicCamera.cs
- KeyEvent.cs
- WebPartDisplayModeEventArgs.cs
- MenuStrip.cs
- NavigationProgressEventArgs.cs
- ThreadStartException.cs
- RegexCompiler.cs
- Bitmap.cs
- DbConnectionHelper.cs
- CreateUserWizardStep.cs
- KeyNotFoundException.cs
- Attributes.cs
- SelectedDatesCollection.cs
- sqlnorm.cs
- XXXOnTypeBuilderInstantiation.cs
- NativeMethods.cs
- DesignerSerializerAttribute.cs
- NetworkInformationPermission.cs
- XPathAncestorIterator.cs
- PropertyChangedEventArgs.cs
- FontFamilyIdentifier.cs
- graph.cs
- XslAst.cs
- OleServicesContext.cs
- UriParserTemplates.cs
- RequestCachingSection.cs
- RegexInterpreter.cs
- ISAPIRuntime.cs
- WSDualHttpSecurity.cs
- TCPListener.cs
- CellConstant.cs
- HyperLink.cs
- ControllableStoryboardAction.cs
- EdmProviderManifest.cs
- VBCodeProvider.cs
- ValueSerializer.cs
- CollectionContainer.cs
- RenderTargetBitmap.cs
- LineSegment.cs
- TextTrailingCharacterEllipsis.cs
- DataComponentGenerator.cs
- VerificationException.cs
- ColorTransformHelper.cs
- DescendantQuery.cs
- OptimizedTemplateContentHelper.cs
- MultiAsyncResult.cs
- ProgressPage.cs
- TransactionInformation.cs
- TTSVoice.cs
- APCustomTypeDescriptor.cs
- TemplateParser.cs
- WebZoneDesigner.cs
- ApplicationServicesHostFactory.cs
- XPathSelfQuery.cs
- EncryptedType.cs
- RootContext.cs
- TextTrailingWordEllipsis.cs