Code:
/ DotNET / DotNET / 8.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
- WebPartAuthorizationEventArgs.cs
- TcpSocketManager.cs
- XmlWellformedWriter.cs
- DependencyPropertyConverter.cs
- ScriptReferenceBase.cs
- ToolZone.cs
- StateMachineDesignerPaint.cs
- PropertyMapper.cs
- NavigationProgressEventArgs.cs
- TableLayoutPanelCellPosition.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- IntPtr.cs
- DataStreamFromComStream.cs
- PopupRoot.cs
- GlobalizationAssembly.cs
- InfoCardProofToken.cs
- SwitchLevelAttribute.cs
- XPathMultyIterator.cs
- FieldNameLookup.cs
- SharedPerformanceCounter.cs
- RSAPKCS1SignatureFormatter.cs
- EntityDataSource.cs
- Calendar.cs
- TimelineGroup.cs
- CompiledAction.cs
- SqlResolver.cs
- EntityDataSourceContextCreatingEventArgs.cs
- BulletChrome.cs
- WebFaultException.cs
- DynamicValidatorEventArgs.cs
- TableItemPattern.cs
- DeclarativeConditionsCollection.cs
- MdImport.cs
- Enlistment.cs
- HtmlPhoneCallAdapter.cs
- SecurityTraceRecordHelper.cs
- TracingConnection.cs
- EditingCoordinator.cs
- HorizontalAlignConverter.cs
- MultiView.cs
- HtmlLink.cs
- PasswordPropertyTextAttribute.cs
- CodeTypeReference.cs
- BamlLocalizableResourceKey.cs
- SqlXml.cs
- WorkItem.cs
- AspCompat.cs
- RelationshipType.cs
- MultipartContentParser.cs
- ThousandthOfEmRealDoubles.cs
- DataBoundControlAdapter.cs
- SqlNodeAnnotation.cs
- WpfSharedXamlSchemaContext.cs
- NamespaceListProperty.cs
- ActivationServices.cs
- BoundingRectTracker.cs
- MasterPageBuildProvider.cs
- SqlCommandSet.cs
- EntityCommandExecutionException.cs
- FunctionCommandText.cs
- PropertyFilterAttribute.cs
- StatusBarAutomationPeer.cs
- TypeNameParser.cs
- URLString.cs
- PasswordRecoveryDesigner.cs
- SafeEventLogWriteHandle.cs
- WorkflowApplicationAbortedEventArgs.cs
- rsa.cs
- AsymmetricAlgorithm.cs
- MailMessageEventArgs.cs
- HttpApplication.cs
- ClosableStream.cs
- StackOverflowException.cs
- DataSet.cs
- PropertyGroupDescription.cs
- ClientSponsor.cs
- BinaryUtilClasses.cs
- Freezable.cs
- ColorAnimationBase.cs
- ProfileSection.cs
- ScrollContentPresenter.cs
- InputBindingCollection.cs
- Partitioner.cs
- TextEditorCopyPaste.cs
- TransformProviderWrapper.cs
- SubpageParagraph.cs
- DecoderBestFitFallback.cs
- XPathNodeIterator.cs
- ReferentialConstraint.cs
- PixelShader.cs
- ZipPackagePart.cs
- AssemblyName.cs
- ListBindingConverter.cs
- XmlFormatExtensionPrefixAttribute.cs
- ServiceBusyException.cs
- BrushMappingModeValidation.cs
- WebPartConnectionsEventArgs.cs
- RelatedEnd.cs
- ProviderCollection.cs
- ConnectionPointGlyph.cs