Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / FileLevelControlBuilderAttribute.cs / 1 / FileLevelControlBuilderAttribute.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 FileLevelControlBuilderAttribute : Attribute { ///Allows a TemplateControl (e.g. Page or UserControl) derived class to specify // the control builder used at the top level ofthe builder tree when parsing the file. /// for building that control within the ASP.NET parser. ////// /// public static readonly FileLevelControlBuilderAttribute Default = new FileLevelControlBuilderAttribute(null); private Type builderType = null; ///The default ///object is a /// builder. This field is read-only. /// public FileLevelControlBuilderAttribute(Type builderType) { this.builderType = builderType; } ////// public Type BuilderType { get { return builderType; } } ///Indicates XXX. This property is read-only. ////// /// public override int GetHashCode() { return builderType.GetHashCode(); } ///[To be supplied.] ////// /// public override bool Equals(object obj) { if (obj == this) { return true; } if ((obj != null) && (obj is FileLevelControlBuilderAttribute)) { return((FileLevelControlBuilderAttribute)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
- ObjectSet.cs
- VariableDesigner.xaml.cs
- HttpWebRequestElement.cs
- CompilerTypeWithParams.cs
- Bits.cs
- SQLInt16Storage.cs
- ContextQuery.cs
- OdbcParameterCollection.cs
- SymmetricSecurityProtocol.cs
- CommandID.cs
- UrlRoutingHandler.cs
- TypeSystem.cs
- ResourceLoader.cs
- OneOfElement.cs
- FunctionImportElement.cs
- WindowsSlider.cs
- MsmqInputMessagePool.cs
- EventLogEntry.cs
- UnsafeNativeMethods.cs
- SecurityState.cs
- FixedHighlight.cs
- OperatingSystem.cs
- ReturnValue.cs
- ListControlBoundActionList.cs
- Adorner.cs
- SmiSettersStream.cs
- BitmapEffectCollection.cs
- GroupItem.cs
- WhiteSpaceTrimStringConverter.cs
- TreeViewItemAutomationPeer.cs
- DataServiceRequestException.cs
- ParameterModifier.cs
- MemberDomainMap.cs
- StartUpEventArgs.cs
- CodeBlockBuilder.cs
- FontStretchConverter.cs
- ControlParameter.cs
- HtmlTableCellCollection.cs
- DataServiceStreamProviderWrapper.cs
- RegexRunnerFactory.cs
- EmbeddedMailObjectsCollection.cs
- MobileControl.cs
- KeyboardNavigation.cs
- BatchServiceHost.cs
- MediaTimeline.cs
- CreateUserWizard.cs
- ColumnHeader.cs
- SingleAnimation.cs
- Bidi.cs
- Attributes.cs
- DeferrableContentConverter.cs
- FormatVersion.cs
- PerformanceCounter.cs
- IssuedSecurityTokenProvider.cs
- StatusBarPanelClickEvent.cs
- Translator.cs
- SizeF.cs
- MultipleCopiesCollection.cs
- FixedDocumentPaginator.cs
- DataPagerCommandEventArgs.cs
- MessageQueueInstaller.cs
- PtsPage.cs
- FixedStringLookup.cs
- UniqueSet.cs
- OletxCommittableTransaction.cs
- HashAlgorithm.cs
- Matrix3D.cs
- Button.cs
- _KerberosClient.cs
- FocusWithinProperty.cs
- DataGridViewTopRowAccessibleObject.cs
- Vector3DCollectionConverter.cs
- HttpCachePolicyBase.cs
- TextRangeSerialization.cs
- MdbDataFileEditor.cs
- DataGridHeaderBorder.cs
- SQLGuid.cs
- RelationshipEndMember.cs
- SiteMembershipCondition.cs
- CollectionViewSource.cs
- Popup.cs
- WebOperationContext.cs
- DataFormats.cs
- XmlException.cs
- WindowAutomationPeer.cs
- Configuration.cs
- ExtensionWindowResizeGrip.cs
- EventWaitHandle.cs
- KnownTypes.cs
- Reference.cs
- RunWorkerCompletedEventArgs.cs
- _ProxyRegBlob.cs
- RoutedUICommand.cs
- URLString.cs
- WebPartZoneCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- BufferedReadStream.cs
- URLIdentityPermission.cs
- LayoutTableCell.cs
- FunctionGenerator.cs