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
- PackageFilter.cs
- OutputChannel.cs
- Statements.cs
- ValidationError.cs
- RowParagraph.cs
- CopyAttributesAction.cs
- RemoteHelper.cs
- CompilationSection.cs
- ResourceReader.cs
- TextContainerHelper.cs
- WizardForm.cs
- ServiceDebugBehavior.cs
- MatrixCamera.cs
- MessageFilter.cs
- MaxSessionCountExceededException.cs
- AggregationMinMaxHelpers.cs
- SchemaImporterExtensionElement.cs
- XmlWrappingWriter.cs
- DataTransferEventArgs.cs
- DTCTransactionManager.cs
- ExceptionHandlerDesigner.cs
- TagPrefixAttribute.cs
- TypeLoadException.cs
- WsdlWriter.cs
- ImageSource.cs
- AbandonedMutexException.cs
- ViewStateModeByIdAttribute.cs
- _OSSOCK.cs
- BitSet.cs
- SafeRightsManagementSessionHandle.cs
- ExpandableObjectConverter.cs
- BoundPropertyEntry.cs
- DataGridViewRow.cs
- PersonalizablePropertyEntry.cs
- DataGridViewCellConverter.cs
- DataGridRelationshipRow.cs
- DetailsViewPageEventArgs.cs
- Keyboard.cs
- SqlDependencyUtils.cs
- Opcode.cs
- QuaternionConverter.cs
- ShutDownListener.cs
- NetWebProxyFinder.cs
- Resources.Designer.cs
- OutputCacheSettingsSection.cs
- CacheEntry.cs
- XPathAncestorIterator.cs
- LateBoundBitmapDecoder.cs
- Page.cs
- PasswordPropertyTextAttribute.cs
- TypedTableBaseExtensions.cs
- HttpCacheParams.cs
- COM2Enum.cs
- Parsers.cs
- ellipse.cs
- HeaderedItemsControl.cs
- ToolboxItem.cs
- XsltException.cs
- Dynamic.cs
- SQLDecimal.cs
- FieldAccessException.cs
- ProfileGroupSettingsCollection.cs
- DescendantBaseQuery.cs
- IncrementalHitTester.cs
- RegexCharClass.cs
- ListControl.cs
- _SslState.cs
- AuthorizationSection.cs
- FontStretchConverter.cs
- RuntimeArgument.cs
- ExtensionSimplifierMarkupObject.cs
- ToolStripManager.cs
- comcontractssection.cs
- ImageSourceConverter.cs
- FileDialogPermission.cs
- FontUnit.cs
- Renderer.cs
- UdpMessageProperty.cs
- GatewayDefinition.cs
- GetWinFXPath.cs
- ContextDataSourceContextData.cs
- CellTreeSimplifier.cs
- TextProperties.cs
- QueueTransferProtocol.cs
- TransformProviderWrapper.cs
- NumberFunctions.cs
- NetCodeGroup.cs
- Hex.cs
- SafeSecurityHandles.cs
- DisplayNameAttribute.cs
- ListenerSingletonConnectionReader.cs
- TimeIntervalCollection.cs
- AssemblyAttributes.cs
- Array.cs
- EntityCommandExecutionException.cs
- TransactionManager.cs
- ModuleBuilder.cs
- ExecutionContext.cs
- precedingquery.cs
- JavaScriptSerializer.cs