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
- WebServiceBindingAttribute.cs
- CatalogPartChrome.cs
- CodeLinePragma.cs
- ObjectManager.cs
- BitmapImage.cs
- WindowClosedEventArgs.cs
- XmlSchemaAnnotated.cs
- HelpProvider.cs
- RepeatInfo.cs
- ButtonRenderer.cs
- X509Certificate.cs
- PersonalizationState.cs
- DocumentPage.cs
- TypeLoadException.cs
- CacheOutputQuery.cs
- XslException.cs
- _SpnDictionary.cs
- DrawingAttributes.cs
- ObjectDataSourceMethodEventArgs.cs
- ColorDialog.cs
- IndexedEnumerable.cs
- QilInvokeEarlyBound.cs
- AdPostCacheSubstitution.cs
- Marshal.cs
- Constants.cs
- Rectangle.cs
- ConfigurationHandlersInstallComponent.cs
- Set.cs
- AppLevelCompilationSectionCache.cs
- SqlDataSourceStatusEventArgs.cs
- ItemType.cs
- HtmlAnchor.cs
- LocalBuilder.cs
- DateBoldEvent.cs
- _LazyAsyncResult.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- BaseDataList.cs
- SqlCacheDependencySection.cs
- RangeValueProviderWrapper.cs
- Publisher.cs
- ArraySegment.cs
- BaseTemplatedMobileComponentEditor.cs
- EndPoint.cs
- Debug.cs
- CodeSubDirectory.cs
- DetailsViewRow.cs
- Logging.cs
- XmlIterators.cs
- PeerTransportListenAddressValidator.cs
- WebBrowserSiteBase.cs
- ConstNode.cs
- UriScheme.cs
- StylusCollection.cs
- SamlAuthorizationDecisionStatement.cs
- SqlClientWrapperSmiStream.cs
- ListViewItemSelectionChangedEvent.cs
- ScaleTransform3D.cs
- Italic.cs
- ControlValuePropertyAttribute.cs
- HuffCodec.cs
- FormattedTextSymbols.cs
- Substitution.cs
- ConnectionPoint.cs
- IntranetCredentialPolicy.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RNGCryptoServiceProvider.cs
- LongMinMaxAggregationOperator.cs
- PenCursorManager.cs
- EntityDataSourceDataSelection.cs
- PrintDialog.cs
- ADMembershipProvider.cs
- ConfigurationSettings.cs
- StandardTransformFactory.cs
- HostedHttpContext.cs
- LinearGradientBrush.cs
- ReadWriteSpinLock.cs
- Substitution.cs
- StickyNoteAnnotations.cs
- EnumConverter.cs
- DbExpressionRules.cs
- TextSchema.cs
- SmtpNtlmAuthenticationModule.cs
- SortedSet.cs
- ListChangedEventArgs.cs
- _NegoState.cs
- sqlnorm.cs
- FormCollection.cs
- BitConverter.cs
- AQNBuilder.cs
- ProxyWebPartManager.cs
- InheritanceContextHelper.cs
- HScrollProperties.cs
- XPathAncestorIterator.cs
- UnsafeNativeMethods.cs
- PageDeviceFont.cs
- IgnoreSection.cs
- StandardToolWindows.cs
- WinEventTracker.cs
- SurrogateSelector.cs
- InProcStateClientManager.cs