Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebBrowsableAttribute.cs / 1 / WebBrowsableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Property)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class WebBrowsableAttribute : Attribute { ////// public static readonly WebBrowsableAttribute Yes = new WebBrowsableAttribute(true); ////// public static readonly WebBrowsableAttribute No = new WebBrowsableAttribute(false); ////// public static readonly WebBrowsableAttribute Default = No; private bool _browsable; ////// public WebBrowsableAttribute() : this(true) { } ////// public WebBrowsableAttribute(bool browsable) { _browsable = browsable; } ////// public bool Browsable { get { return _browsable; } } ///public override bool Equals(object obj) { if (obj == this) { return true; } WebBrowsableAttribute other = obj as WebBrowsableAttribute; return (other != null) && (other.Browsable == Browsable); } /// public override int GetHashCode() { return _browsable.GetHashCode(); } /// public override bool IsDefaultAttribute() { return this.Equals(Default); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Image.cs
- SessionEndingCancelEventArgs.cs
- SiteMapSection.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- BaseValidator.cs
- X509CertificateClaimSet.cs
- HttpApplication.cs
- SoapAttributes.cs
- Missing.cs
- View.cs
- StoryFragments.cs
- ScopedKnownTypes.cs
- RunInstallerAttribute.cs
- ConstraintEnumerator.cs
- TextSegment.cs
- HMAC.cs
- CustomErrorsSection.cs
- CommonProperties.cs
- ExtensionSimplifierMarkupObject.cs
- followingquery.cs
- ExtenderHelpers.cs
- TreeNodeCollection.cs
- UnsafeNativeMethods.cs
- XPathNodeHelper.cs
- SetterBase.cs
- WinEventQueueItem.cs
- TaskFactory.cs
- LocatorPartList.cs
- BorderGapMaskConverter.cs
- OracleColumn.cs
- COM2TypeInfoProcessor.cs
- AutoSizeToolBoxItem.cs
- PrintDocument.cs
- GregorianCalendarHelper.cs
- InsufficientMemoryException.cs
- ThreadAttributes.cs
- ResXResourceSet.cs
- DashStyles.cs
- WebPartDisplayModeEventArgs.cs
- CompositeTypefaceMetrics.cs
- LowerCaseStringConverter.cs
- MultiPageTextView.cs
- TdsParserStaticMethods.cs
- Item.cs
- ChannelServices.cs
- InternalMappingException.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CapabilitiesAssignment.cs
- ListViewSortEventArgs.cs
- InfoCardProofToken.cs
- PointLightBase.cs
- SerTrace.cs
- XmlBoundElement.cs
- ToolStripDesignerAvailabilityAttribute.cs
- HttpRuntimeSection.cs
- ExtensionWindowResizeGrip.cs
- TreeNodeStyle.cs
- Closure.cs
- CookieProtection.cs
- _NegoStream.cs
- Console.cs
- MethodSignatureGenerator.cs
- FormViewPagerRow.cs
- VarInfo.cs
- Int16Converter.cs
- XPathException.cs
- HorizontalAlignConverter.cs
- SerializationUtilities.cs
- DiagnosticsConfiguration.cs
- TrustManagerMoreInformation.cs
- Emitter.cs
- StructuredType.cs
- SecurityCriticalDataForSet.cs
- TransformPattern.cs
- MsmqHostedTransportConfiguration.cs
- PageAsyncTask.cs
- WindowShowOrOpenTracker.cs
- DataGridPagingPage.cs
- NamespaceDisplayAutomationPeer.cs
- PrimarySelectionGlyph.cs
- OleDbError.cs
- SelectionRangeConverter.cs
- Variable.cs
- IgnoreDeviceFilterElementCollection.cs
- ListItemConverter.cs
- ComponentRenameEvent.cs
- FontCollection.cs
- ApplicationDirectory.cs
- SqlDataSourceSelectingEventArgs.cs
- StagingAreaInputItem.cs
- TableCellCollection.cs
- RoutedUICommand.cs
- QuerySafeNavigator.cs
- SqlBuffer.cs
- SqlNotificationRequest.cs
- SafeNativeMethods.cs
- StringReader.cs
- PassportAuthenticationEventArgs.cs
- WebPartMenuStyle.cs
- CreateParams.cs