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
- XmlSchemaObject.cs
- ConsoleKeyInfo.cs
- ScrollChrome.cs
- DataSetSchema.cs
- TextFormatterHost.cs
- Sorting.cs
- SafeProcessHandle.cs
- TextContainer.cs
- VisualTreeHelper.cs
- QueryStringParameter.cs
- AttachedProperty.cs
- Utils.cs
- TripleDESCryptoServiceProvider.cs
- XPathNavigatorKeyComparer.cs
- CompoundFileDeflateTransform.cs
- StrokeNode.cs
- KeyValuePairs.cs
- Win32.cs
- VarRefManager.cs
- WhereaboutsReader.cs
- RawStylusInput.cs
- BitmapCache.cs
- WebContext.cs
- XmlReturnReader.cs
- ThemeDirectoryCompiler.cs
- BinaryUtilClasses.cs
- MenuItemCollection.cs
- LabelDesigner.cs
- OdbcCommand.cs
- GcHandle.cs
- ReaderWriterLock.cs
- ListCollectionView.cs
- DashStyles.cs
- InvocationExpression.cs
- ObjectDataSourceMethodEventArgs.cs
- ObjectDataSourceView.cs
- Timeline.cs
- DataObject.cs
- NativeRecognizer.cs
- StickyNoteHelper.cs
- PolyQuadraticBezierSegment.cs
- OdbcConnectionStringbuilder.cs
- ImageMapEventArgs.cs
- SplayTreeNode.cs
- ConfigXmlCDataSection.cs
- Rotation3DAnimation.cs
- RegistrySecurity.cs
- CodeChecksumPragma.cs
- RankException.cs
- StrongNamePublicKeyBlob.cs
- MessageBodyMemberAttribute.cs
- ExceptionUtil.cs
- AsyncWaitHandle.cs
- SevenBitStream.cs
- AuthenticationServiceManager.cs
- ButtonChrome.cs
- IndentedTextWriter.cs
- NullableFloatSumAggregationOperator.cs
- RoutedPropertyChangedEventArgs.cs
- Models.cs
- MemberHolder.cs
- XmlSerializerFactory.cs
- SchemaTableOptionalColumn.cs
- Int32AnimationBase.cs
- DiscoveryEndpointValidator.cs
- _WinHttpWebProxyDataBuilder.cs
- OleDbPermission.cs
- DCSafeHandle.cs
- AuthorizationSection.cs
- ToggleProviderWrapper.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- VectorCollection.cs
- EmbeddedObject.cs
- SqlCacheDependencyDatabaseCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- LayoutEvent.cs
- SystemSounds.cs
- ColumnPropertiesGroup.cs
- PrintPageEvent.cs
- ProtocolsSection.cs
- CodeMethodReturnStatement.cs
- ServiceNameCollection.cs
- XmlSchemaSubstitutionGroup.cs
- CustomErrorsSectionWrapper.cs
- QilGenerator.cs
- Pkcs7Signer.cs
- DesignerVerbCollection.cs
- ISAPIRuntime.cs
- CannotUnloadAppDomainException.cs
- DtdParser.cs
- ZipFileInfo.cs
- ToolboxDataAttribute.cs
- LinqDataSourceStatusEventArgs.cs
- NamedPipeAppDomainProtocolHandler.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TemplateKey.cs
- RemotingConfigParser.cs
- FrameworkTextComposition.cs
- XmlStringTable.cs
- XmlArrayAttribute.cs