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
- HwndKeyboardInputProvider.cs
- AuthenticationConfig.cs
- Compensate.cs
- DataSourceConverter.cs
- MenuTracker.cs
- ThicknessAnimationUsingKeyFrames.cs
- FacetValueContainer.cs
- remotingproxy.cs
- Profiler.cs
- TemplateModeChangedEventArgs.cs
- LassoHelper.cs
- CustomCategoryAttribute.cs
- PriorityBinding.cs
- DataGridViewImageCell.cs
- Stack.cs
- Encoding.cs
- RepeaterItemEventArgs.cs
- Compilation.cs
- TextParaClient.cs
- ActiveXHost.cs
- QueryAccessibilityHelpEvent.cs
- MarkupExtensionParser.cs
- StringWriter.cs
- AsymmetricSignatureDeformatter.cs
- ListViewSelectEventArgs.cs
- JournalEntry.cs
- TimeSpanStorage.cs
- NavigationEventArgs.cs
- uribuilder.cs
- TypeExtensionConverter.cs
- SessionStateUtil.cs
- HwndAppCommandInputProvider.cs
- RsaSecurityTokenParameters.cs
- MemoryResponseElement.cs
- BrowserDefinition.cs
- FillBehavior.cs
- NodeFunctions.cs
- ElementProxy.cs
- IdentityHolder.cs
- HtmlHistory.cs
- RightNameExpirationInfoPair.cs
- ECDiffieHellmanPublicKey.cs
- TextEditorSpelling.cs
- SingleStorage.cs
- TreePrinter.cs
- PreservationFileWriter.cs
- BehaviorEditorPart.cs
- SqlRowUpdatedEvent.cs
- HostProtectionPermission.cs
- StringAnimationUsingKeyFrames.cs
- DateTimeParse.cs
- InvalidComObjectException.cs
- ApplicationDirectory.cs
- RegexBoyerMoore.cs
- ColumnReorderedEventArgs.cs
- SafeRightsManagementHandle.cs
- TextTreeTextBlock.cs
- ValidationSummaryDesigner.cs
- SecurityElement.cs
- Rotation3DAnimation.cs
- COM2FontConverter.cs
- MetricEntry.cs
- DataSysAttribute.cs
- SafeTimerHandle.cs
- ContentControl.cs
- XmlEntity.cs
- LoginCancelEventArgs.cs
- TraceSource.cs
- BypassElement.cs
- SoapTransportImporter.cs
- XmlSchemaSimpleContent.cs
- ParallelTimeline.cs
- FrameworkElement.cs
- TrackingDataItemValue.cs
- OutKeywords.cs
- UserValidatedEventArgs.cs
- GB18030Encoding.cs
- EventHandlersDesigner.cs
- ToolStripGrip.cs
- CodeTypeDeclaration.cs
- HttpRequestCacheValidator.cs
- ResourceIDHelper.cs
- CustomCategoryAttribute.cs
- StringConcat.cs
- TextRunProperties.cs
- XmlNavigatorFilter.cs
- BitmapVisualManager.cs
- WorkflowQueueInfo.cs
- WsdlEndpointConversionContext.cs
- ImageAttributes.cs
- ListViewItem.cs
- NonSerializedAttribute.cs
- CodeEntryPointMethod.cs
- ExpressionParser.cs
- listitem.cs
- UserMapPath.cs
- WindowsTokenRoleProvider.cs
- HybridObjectCache.cs
- ToolboxCategory.cs
- QilBinary.cs