Code:
/ FX-1434 / FX-1434 / 1.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
- SafeCryptContextHandle.cs
- SqlClientFactory.cs
- WaitHandle.cs
- SelectionRange.cs
- ImportFileRequest.cs
- SqlClientWrapperSmiStream.cs
- ResourceExpressionEditor.cs
- Stack.cs
- ToolTipService.cs
- PropertySourceInfo.cs
- ViewGenResults.cs
- hresults.cs
- ToolBarOverflowPanel.cs
- Point.cs
- ClosableStream.cs
- UIElementParagraph.cs
- XmlSchemaAnnotation.cs
- XPathNodeHelper.cs
- XmlEntity.cs
- XamlFilter.cs
- CheckBoxFlatAdapter.cs
- DataObjectAttribute.cs
- SupportingTokenChannel.cs
- ThumbAutomationPeer.cs
- BitArray.cs
- ValidationEventArgs.cs
- Sequence.cs
- URLAttribute.cs
- PassportAuthenticationModule.cs
- BaseCollection.cs
- HtmlInputReset.cs
- Funcletizer.cs
- ImageEditor.cs
- TextBlock.cs
- CookieParameter.cs
- ImmComposition.cs
- EventsTab.cs
- KeyedPriorityQueue.cs
- ElementUtil.cs
- thaishape.cs
- DictionarySectionHandler.cs
- SqlDataSource.cs
- LongSumAggregationOperator.cs
- SQLBinary.cs
- Latin1Encoding.cs
- Configuration.cs
- ExpressionBinding.cs
- ISAPIRuntime.cs
- X509ChainElement.cs
- ZipFileInfo.cs
- HtmlTextArea.cs
- LoadRetryConstantStrategy.cs
- StorageMappingItemLoader.cs
- DataGridColumnEventArgs.cs
- UTF32Encoding.cs
- CompatibleComparer.cs
- CompatibleComparer.cs
- RecipientInfo.cs
- System.Data.OracleClient_BID.cs
- ObjectManager.cs
- EventProxy.cs
- CalendarTable.cs
- ObjectTag.cs
- Win32Exception.cs
- SqlRewriteScalarSubqueries.cs
- SQLInt32Storage.cs
- AttachmentService.cs
- ProtocolElement.cs
- CultureTable.cs
- FontInfo.cs
- MenuItemStyleCollection.cs
- LexicalChunk.cs
- EventLogPropertySelector.cs
- ValidatorUtils.cs
- ColorConverter.cs
- ProcessRequestArgs.cs
- CmsInterop.cs
- ConsumerConnectionPointCollection.cs
- Ref.cs
- ControlValuePropertyAttribute.cs
- WindowsTokenRoleProvider.cs
- TypeSchema.cs
- ManagementClass.cs
- AsymmetricSignatureDeformatter.cs
- ProcessInfo.cs
- OptimizerPatterns.cs
- DateRangeEvent.cs
- ClassDataContract.cs
- InputScopeAttribute.cs
- SafeNativeMethods.cs
- HtmlTernaryTree.cs
- Serializer.cs
- PriorityItem.cs
- ContractMethodInfo.cs
- X509Extension.cs
- EventLogger.cs
- WindowsServiceElement.cs
- NamespaceQuery.cs
- PackageProperties.cs
- StringResourceManager.cs