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
- DLinqColumnProvider.cs
- DataSetUtil.cs
- HitTestResult.cs
- SoapElementAttribute.cs
- DesignerVerbCollection.cs
- DoubleCollection.cs
- TextEditorTyping.cs
- TdsEnums.cs
- BasicDesignerLoader.cs
- XmlSchemas.cs
- QueueProcessor.cs
- SignedPkcs7.cs
- TableLayoutPanelCellPosition.cs
- Int32Rect.cs
- XmlExtensionFunction.cs
- ValidationErrorCollection.cs
- PathTooLongException.cs
- StorageAssociationSetMapping.cs
- HtmlControlDesigner.cs
- SqlFactory.cs
- ImmutableCollection.cs
- CompositeCollection.cs
- OracleTransaction.cs
- DataRowChangeEvent.cs
- PeerInvitationResponse.cs
- DecoderExceptionFallback.cs
- ClientCredentialsSecurityTokenManager.cs
- DataGridViewRowCollection.cs
- Geometry.cs
- ProfileSection.cs
- TaskCanceledException.cs
- CryptoHelper.cs
- x509utils.cs
- EventListenerClientSide.cs
- BindableTemplateBuilder.cs
- ToolStripPanelRow.cs
- MsmqVerifier.cs
- WindowCollection.cs
- RowToFieldTransformer.cs
- XmlSchemaAttributeGroupRef.cs
- FileRecordSequenceHelper.cs
- ComboBoxRenderer.cs
- XmlIlTypeHelper.cs
- TextStore.cs
- UseAttributeSetsAction.cs
- IndicCharClassifier.cs
- ComponentConverter.cs
- TypeDescriptionProvider.cs
- EventBuilder.cs
- SqlSupersetValidator.cs
- DispatchWrapper.cs
- HtmlControl.cs
- WindowsStatusBar.cs
- SchemaElementDecl.cs
- PeerDuplexChannelListener.cs
- ReflectPropertyDescriptor.cs
- Win32KeyboardDevice.cs
- ErrorInfoXmlDocument.cs
- TreeWalkHelper.cs
- PopupEventArgs.cs
- HttpApplicationFactory.cs
- Propagator.Evaluator.cs
- RemoteWebConfigurationHost.cs
- GZipStream.cs
- UITypeEditor.cs
- DashStyle.cs
- X509SecurityTokenAuthenticator.cs
- ArrayTypeMismatchException.cs
- BaseDataListDesigner.cs
- ColumnMapProcessor.cs
- Duration.cs
- ZipIOExtraField.cs
- FontDifferentiator.cs
- UnsafeNativeMethods.cs
- safex509handles.cs
- XmlNavigatorStack.cs
- AsymmetricAlgorithm.cs
- ContentPresenter.cs
- HtmlWindowCollection.cs
- BinaryNode.cs
- ItemCollection.cs
- ComponentChangedEvent.cs
- OutputCacheModule.cs
- SqlReferenceCollection.cs
- SrgsOneOf.cs
- ItemList.cs
- ScriptResourceHandler.cs
- OracleCommand.cs
- DataGridAutomationPeer.cs
- FragmentQueryProcessor.cs
- DbTransaction.cs
- RTLAwareMessageBox.cs
- CaretElement.cs
- SqlCacheDependency.cs
- Rect.cs
- DispatcherSynchronizationContext.cs
- MobileComponentEditorPage.cs
- PeerUnsafeNativeMethods.cs
- CalculatedColumn.cs
- PhonemeEventArgs.cs