Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeConverterAttribute.cs
- TextBlock.cs
- ToolStripItemDataObject.cs
- SoapCommonClasses.cs
- ToolStripItemCollection.cs
- InstanceDescriptor.cs
- TrimSurroundingWhitespaceAttribute.cs
- Atom10FormatterFactory.cs
- Metadata.cs
- BooleanAnimationBase.cs
- StoreContentChangedEventArgs.cs
- XmlDataCollection.cs
- ScriptReferenceBase.cs
- WebHttpBinding.cs
- PageStatePersister.cs
- StrongBox.cs
- ProfileGroupSettings.cs
- UIPermission.cs
- MethodAccessException.cs
- Trace.cs
- Rectangle.cs
- EntityTransaction.cs
- FixedDocument.cs
- UntypedNullExpression.cs
- WindowHideOrCloseTracker.cs
- ContentPresenter.cs
- QilXmlReader.cs
- XmlAttributeCollection.cs
- EntityDataSourceChangedEventArgs.cs
- DecoderFallbackWithFailureFlag.cs
- AnnotationDocumentPaginator.cs
- BaseCollection.cs
- ProcessStartInfo.cs
- EntityParameterCollection.cs
- XmlAttributeOverrides.cs
- ManualResetEvent.cs
- MultiSelectRootGridEntry.cs
- WorkingDirectoryEditor.cs
- MethodCallTranslator.cs
- DataControlButton.cs
- AccessDataSource.cs
- GuidelineCollection.cs
- FontFaceLayoutInfo.cs
- BCryptHashAlgorithm.cs
- PTConverter.cs
- WebPartConnectionsConnectVerb.cs
- RequestCachePolicy.cs
- ObfuscateAssemblyAttribute.cs
- UnmanagedMemoryStream.cs
- RbTree.cs
- StackOverflowException.cs
- HttpModulesSection.cs
- Interop.cs
- DocumentGridPage.cs
- ProofTokenCryptoHandle.cs
- BitStream.cs
- BamlTreeNode.cs
- ButtonAutomationPeer.cs
- EqualityComparer.cs
- UITypeEditors.cs
- UnionCqlBlock.cs
- ContextMenuService.cs
- SimpleBitVector32.cs
- HtmlUtf8RawTextWriter.cs
- ComponentChangingEvent.cs
- ExtendedPropertiesHandler.cs
- CheckBox.cs
- Cloud.cs
- CompareValidator.cs
- ScriptComponentDescriptor.cs
- CalloutQueueItem.cs
- Point4D.cs
- HttpHandlersSection.cs
- GACMembershipCondition.cs
- RuntimeResourceSet.cs
- MetadataImporter.cs
- PersonalizationDictionary.cs
- Options.cs
- QueryParameter.cs
- AppDomain.cs
- CodeDirectionExpression.cs
- TypeUtils.cs
- PartialClassGenerationTask.cs
- DataGridViewSelectedCellCollection.cs
- XmlSerializerAssemblyAttribute.cs
- VectorAnimationBase.cs
- StylusLogic.cs
- FixedBufferAttribute.cs
- OdbcDataAdapter.cs
- Int64.cs
- AccessedThroughPropertyAttribute.cs
- Emitter.cs
- SoapFault.cs
- TaskFileService.cs
- MouseCaptureWithinProperty.cs
- UpdateCompiler.cs
- BitmapMetadata.cs
- ViewManagerAttribute.cs
- xmlformatgeneratorstatics.cs
- SingleStorage.cs