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
- HttpRuntime.cs
- SafeNativeMethods.cs
- IriParsingElement.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ResponseBodyWriter.cs
- QueryResponse.cs
- SafeNativeMethodsCLR.cs
- wgx_render.cs
- StylusLogic.cs
- Serializer.cs
- InputScopeManager.cs
- QueryServiceConfigHandle.cs
- SQLInt32.cs
- StaticExtensionConverter.cs
- XDeferredAxisSource.cs
- MsmqReceiveParameters.cs
- unsafenativemethodsother.cs
- XmlFormatReaderGenerator.cs
- AdCreatedEventArgs.cs
- Rectangle.cs
- SiteMembershipCondition.cs
- DbBuffer.cs
- LinqDataSourceStatusEventArgs.cs
- NullRuntimeConfig.cs
- GiveFeedbackEventArgs.cs
- UnsafeNativeMethods.cs
- HttpClientChannel.cs
- IIS7WorkerRequest.cs
- RepeaterCommandEventArgs.cs
- WebReference.cs
- ResourcePart.cs
- DeadCharTextComposition.cs
- DataObjectMethodAttribute.cs
- VBCodeProvider.cs
- FrameworkElement.cs
- BindingMAnagerBase.cs
- TreeViewImageKeyConverter.cs
- AssemblyNameProxy.cs
- AssociationType.cs
- GregorianCalendar.cs
- _OverlappedAsyncResult.cs
- DocumentDesigner.cs
- XmlExtensionFunction.cs
- MarkupObject.cs
- httpserverutility.cs
- DiscriminatorMap.cs
- DefaultAutoFieldGenerator.cs
- DesignTimeParseData.cs
- SchemaDeclBase.cs
- MetadataArtifactLoaderFile.cs
- SimpleWebHandlerParser.cs
- FilterInvalidBodyAccessException.cs
- LogicalExpr.cs
- SqlUtils.cs
- ListViewItem.cs
- LOSFormatter.cs
- ToolBarButtonClickEvent.cs
- DataGridViewCellPaintingEventArgs.cs
- LineServicesRun.cs
- Random.cs
- SessionPageStatePersister.cs
- SafeFileMappingHandle.cs
- CqlQuery.cs
- DecimalAnimationUsingKeyFrames.cs
- BulletDecorator.cs
- GeneratedContractType.cs
- OracleColumn.cs
- WebPartPersonalization.cs
- FormsAuthenticationModule.cs
- BuiltInPermissionSets.cs
- SqlExpressionNullability.cs
- CodeGen.cs
- ComponentChangedEvent.cs
- TripleDESCryptoServiceProvider.cs
- SocketAddress.cs
- RectValueSerializer.cs
- IProvider.cs
- CapabilitiesSection.cs
- OpenFileDialog.cs
- _AcceptOverlappedAsyncResult.cs
- LongCountAggregationOperator.cs
- RowCache.cs
- XmlSchemaElement.cs
- DataConnectionHelper.cs
- ProjectionCamera.cs
- ClientUrlResolverWrapper.cs
- ProcessingInstructionAction.cs
- IChannel.cs
- SafeLibraryHandle.cs
- KeyedCollection.cs
- SiblingIterators.cs
- Attachment.cs
- HandleCollector.cs
- WorkflowDesignerColors.cs
- MemoryFailPoint.cs
- EmissiveMaterial.cs
- VirtualPathProvider.cs
- BuildResult.cs
- Domain.cs
- Help.cs