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
- ForceCopyBuildProvider.cs
- IncrementalCompileAnalyzer.cs
- ProxyGenerationError.cs
- AutomationProperties.cs
- BasicExpressionVisitor.cs
- PerformanceCountersElement.cs
- processwaithandle.cs
- ChannelSinkStacks.cs
- RightsDocument.cs
- DocumentViewerBase.cs
- ItemAutomationPeer.cs
- FacetValues.cs
- TimeoutValidationAttribute.cs
- WebExceptionStatus.cs
- ClickablePoint.cs
- ScriptResourceMapping.cs
- GroupQuery.cs
- _NegoStream.cs
- ObjectSet.cs
- EmptyArray.cs
- ObjectListField.cs
- XmlUtf8RawTextWriter.cs
- PathSegment.cs
- DataFormats.cs
- ConfigXmlComment.cs
- ellipse.cs
- XmlCountingReader.cs
- CombinedGeometry.cs
- BrowserDefinition.cs
- UserPersonalizationStateInfo.cs
- UnsafeNativeMethods.cs
- DataGridViewColumnTypePicker.cs
- QualifiedCellIdBoolean.cs
- InteropBitmapSource.cs
- PixelFormatConverter.cs
- SafeProcessHandle.cs
- basevalidator.cs
- CalendarAutoFormatDialog.cs
- PriorityChain.cs
- AlphabeticalEnumConverter.cs
- PLINQETWProvider.cs
- Win32.cs
- LoopExpression.cs
- QueryContinueDragEvent.cs
- ExpressionPrefixAttribute.cs
- SecurityUtils.cs
- MessageCredentialType.cs
- RtfNavigator.cs
- AspNetCacheProfileAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- SettingsPropertyWrongTypeException.cs
- ContextStaticAttribute.cs
- SchemaMapping.cs
- OutputWindow.cs
- CodeNamespaceCollection.cs
- CacheAxisQuery.cs
- RunWorkerCompletedEventArgs.cs
- PassportPrincipal.cs
- UIElementPropertyUndoUnit.cs
- DataGridViewRowStateChangedEventArgs.cs
- ClientSession.cs
- DataTableReaderListener.cs
- DuplexChannelBinder.cs
- DoubleLinkList.cs
- RNGCryptoServiceProvider.cs
- C14NUtil.cs
- documentsequencetextview.cs
- LongPath.cs
- HideDisabledControlAdapter.cs
- FieldMetadata.cs
- XmlNodeWriter.cs
- InputLanguageEventArgs.cs
- Int32KeyFrameCollection.cs
- DoWorkEventArgs.cs
- StubHelpers.cs
- LocalValueEnumerator.cs
- KnownBoxes.cs
- PageCache.cs
- System.Data_BID.cs
- HtmlTableRowCollection.cs
- SingleKeyFrameCollection.cs
- COM2ExtendedUITypeEditor.cs
- ModuleConfigurationInfo.cs
- DataGridViewMethods.cs
- BaseDataBoundControlDesigner.cs
- Int16KeyFrameCollection.cs
- SecurityIdentifierElement.cs
- SelectionGlyphBase.cs
- OleDbDataAdapter.cs
- EventRoute.cs
- CollectionView.cs
- ScriptDescriptor.cs
- KerberosSecurityTokenAuthenticator.cs
- UTF32Encoding.cs
- OdbcException.cs
- hwndwrapper.cs
- SimpleMailWebEventProvider.cs
- DefaultAssemblyResolver.cs
- RowToFieldTransformer.cs
- FrameworkContentElement.cs