Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / FileLevelControlBuilderAttribute.cs / 1305376 / 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)] 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AnimationTimeline.cs
- GeometryDrawing.cs
- SerTrace.cs
- FormViewPagerRow.cs
- ShutDownListener.cs
- CodeVariableDeclarationStatement.cs
- MobileSysDescriptionAttribute.cs
- GridViewUpdateEventArgs.cs
- _SSPISessionCache.cs
- DataBoundControl.cs
- XmlBinaryWriterSession.cs
- TextFormatterHost.cs
- SrgsRule.cs
- SqlClientWrapperSmiStream.cs
- SamlAuthenticationClaimResource.cs
- DesignerSelectionListAdapter.cs
- PathSegment.cs
- ColorConvertedBitmap.cs
- DataGridViewRow.cs
- DataObject.cs
- Random.cs
- HtmlEncodedRawTextWriter.cs
- ToolboxItemFilterAttribute.cs
- ListBoxAutomationPeer.cs
- CachedPathData.cs
- GlobalEventManager.cs
- CodeArrayIndexerExpression.cs
- ComplexBindingPropertiesAttribute.cs
- ContextQuery.cs
- ArrayWithOffset.cs
- CompressionTransform.cs
- EndpointDiscoveryBehavior.cs
- compensatingcollection.cs
- NumberFunctions.cs
- SRef.cs
- Ops.cs
- NonBatchDirectoryCompiler.cs
- DurableInstanceProvider.cs
- DesigntimeLicenseContext.cs
- EUCJPEncoding.cs
- GridPatternIdentifiers.cs
- PrintDialog.cs
- HttpRuntimeSection.cs
- TypeDescriptorContext.cs
- CardSpaceException.cs
- BufferCache.cs
- CompilerWrapper.cs
- NativeMethods.cs
- SQLInt32.cs
- ScriptReference.cs
- Rectangle.cs
- OleDbInfoMessageEvent.cs
- UIElement.cs
- ScopedKnownTypes.cs
- Style.cs
- Completion.cs
- ManagementEventWatcher.cs
- Permission.cs
- _WebProxyDataBuilder.cs
- HttpRuntimeSection.cs
- ReachFixedPageSerializerAsync.cs
- WebSysDisplayNameAttribute.cs
- _HelperAsyncResults.cs
- Figure.cs
- BitmapEffectInput.cs
- HttpRequest.cs
- NonNullItemCollection.cs
- AuthenticateEventArgs.cs
- CodeAccessSecurityEngine.cs
- SqlStream.cs
- QuaternionRotation3D.cs
- InputLangChangeRequestEvent.cs
- LookupNode.cs
- EventProviderWriter.cs
- MetadataItemCollectionFactory.cs
- RootBuilder.cs
- WebPartAuthorizationEventArgs.cs
- LowerCaseStringConverter.cs
- _LazyAsyncResult.cs
- XmlSchemaValidator.cs
- MediaEntryAttribute.cs
- FormsAuthenticationCredentials.cs
- XamlReader.cs
- CatalogPartCollection.cs
- DataGridCellAutomationPeer.cs
- EventNotify.cs
- ProfileEventArgs.cs
- StateMachineDesignerPaint.cs
- Trigger.cs
- WinInetCache.cs
- ConfigViewGenerator.cs
- WindowsIdentity.cs
- ImagingCache.cs
- Group.cs
- Rules.cs
- WebCodeGenerator.cs
- DependencySource.cs
- StrongName.cs
- HMACSHA256.cs
- HasCopySemanticsAttribute.cs