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
- DbMetaDataFactory.cs
- HGlobalSafeHandle.cs
- EmissiveMaterial.cs
- CharAnimationBase.cs
- util.cs
- TreeView.cs
- Style.cs
- RoleManagerSection.cs
- webeventbuffer.cs
- UnwrappedTypesXmlSerializerManager.cs
- XmlAttributeHolder.cs
- WindowsSpinner.cs
- StreamWithDictionary.cs
- ListViewItemEventArgs.cs
- GreenMethods.cs
- EncodingInfo.cs
- ReachPageContentCollectionSerializerAsync.cs
- GuidTagList.cs
- XmlAnyElementAttribute.cs
- DynamicUpdateCommand.cs
- RTLAwareMessageBox.cs
- FastPropertyAccessor.cs
- KeyNotFoundException.cs
- oledbconnectionstring.cs
- AliasedSlot.cs
- DataSourceProvider.cs
- XmlName.cs
- ConfigXmlElement.cs
- HostedHttpTransportManager.cs
- Vector3DCollectionValueSerializer.cs
- XmlHierarchicalEnumerable.cs
- NullableConverter.cs
- TextTreeFixupNode.cs
- ActivityDesignerHighlighter.cs
- AuthenticationService.cs
- HebrewCalendar.cs
- ListDataBindEventArgs.cs
- TextBreakpoint.cs
- LoginCancelEventArgs.cs
- CodeParameterDeclarationExpression.cs
- _StreamFramer.cs
- XmlConvert.cs
- TimeoutHelper.cs
- AnnotationResourceChangedEventArgs.cs
- DBPropSet.cs
- SqlRowUpdatedEvent.cs
- EntryIndex.cs
- TimeoutValidationAttribute.cs
- ConfigurationLocation.cs
- FileStream.cs
- TextElementCollection.cs
- RawStylusInput.cs
- AnnotationHighlightLayer.cs
- ToolStripComboBox.cs
- ProgressBar.cs
- GridViewRow.cs
- CodeTryCatchFinallyStatement.cs
- X509SubjectKeyIdentifierClause.cs
- PassportAuthenticationEventArgs.cs
- XmlILModule.cs
- InvokeHandlers.cs
- XmlCharacterData.cs
- CodeIndexerExpression.cs
- DbMetaDataFactory.cs
- UserPreferenceChangedEventArgs.cs
- TextBoxAutoCompleteSourceConverter.cs
- AnonymousIdentificationSection.cs
- XmlException.cs
- DocumentApplicationJournalEntry.cs
- InputManager.cs
- Animatable.cs
- HtmlProps.cs
- SqlCacheDependencySection.cs
- CallbackValidator.cs
- DataRecordInternal.cs
- ReachSerializableProperties.cs
- Events.cs
- DataGridItemEventArgs.cs
- CoreChannel.cs
- Adorner.cs
- Line.cs
- StreamSecurityUpgradeInitiator.cs
- XmlLanguage.cs
- validationstate.cs
- NestedContainer.cs
- JoinSymbol.cs
- FixedSOMTableRow.cs
- MethodToken.cs
- _AcceptOverlappedAsyncResult.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- WpfWebRequestHelper.cs
- EntityDataSourceEntitySetNameItem.cs
- FaultPropagationRecord.cs
- XmlSchemaObjectCollection.cs
- RegexCompiler.cs
- ExecutionContext.cs
- VisualBasicSettingsConverter.cs
- ConfigXmlAttribute.cs
- MessageEnumerator.cs
- ObjectListSelectEventArgs.cs