Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlCharStream.cs
- PKCS1MaskGenerationMethod.cs
- RectangleGeometry.cs
- ValidationResult.cs
- MessageQueueCriteria.cs
- EncodingInfo.cs
- Selection.cs
- RenderCapability.cs
- SequentialOutput.cs
- CrossAppDomainChannel.cs
- TemplateManager.cs
- MatchAttribute.cs
- FontStretchConverter.cs
- ToolStripPanelCell.cs
- ObjectConverter.cs
- EntityWrapperFactory.cs
- HandledMouseEvent.cs
- ClientSettingsStore.cs
- LabelAutomationPeer.cs
- TextWriterTraceListener.cs
- OleDbInfoMessageEvent.cs
- SiteMapProvider.cs
- DrawingVisualDrawingContext.cs
- TextSearch.cs
- ReverseQueryOperator.cs
- StructuredTypeEmitter.cs
- SmtpTransport.cs
- DiscardableAttribute.cs
- QilXmlWriter.cs
- XmlQueryContext.cs
- CodeParameterDeclarationExpressionCollection.cs
- HttpCacheVaryByContentEncodings.cs
- ConfigurationValidatorAttribute.cs
- XmlSecureResolver.cs
- OleStrCAMarshaler.cs
- ParserHooks.cs
- OperationFormatUse.cs
- ColumnHeader.cs
- TextBoxLine.cs
- MediaPlayerState.cs
- ListDataHelper.cs
- ListItemCollection.cs
- MenuAutomationPeer.cs
- ListBoxChrome.cs
- CodeObjectCreateExpression.cs
- InputLangChangeRequestEvent.cs
- AppSecurityManager.cs
- OleDbCommand.cs
- ExceptionUtil.cs
- FileSystemWatcher.cs
- CompositeActivityTypeDescriptor.cs
- SuppressIldasmAttribute.cs
- ByteArrayHelperWithString.cs
- PropertyValueChangedEvent.cs
- WaitHandle.cs
- IisTraceWebEventProvider.cs
- PreProcessInputEventArgs.cs
- PackagePartCollection.cs
- Exceptions.cs
- PeerUnsafeNativeCryptMethods.cs
- PaginationProgressEventArgs.cs
- InvalidOperationException.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- UIElement3D.cs
- DataGridState.cs
- DPAPIProtectedConfigurationProvider.cs
- TableAdapterManagerGenerator.cs
- ScrollBar.cs
- WebPartExportVerb.cs
- DesignTimeVisibleAttribute.cs
- CodePropertyReferenceExpression.cs
- Baml2006ReaderFrame.cs
- CorrelationToken.cs
- Properties.cs
- CompiledRegexRunner.cs
- Int32Storage.cs
- FtpWebRequest.cs
- ValidatingReaderNodeData.cs
- AuthenticatedStream.cs
- XPathParser.cs
- ItemsPresenter.cs
- CustomTypeDescriptor.cs
- SEHException.cs
- CmsInterop.cs
- OleDbEnumerator.cs
- CodeIdentifier.cs
- CustomAttributeFormatException.cs
- SharedStatics.cs
- SqlInfoMessageEvent.cs
- DbConnectionOptions.cs
- Attributes.cs
- VirtualPathProvider.cs
- ToolStripButton.cs
- StylusTip.cs
- DataContractAttribute.cs
- WebBrowserContainer.cs
- ActivityDesigner.cs
- DetailsViewModeEventArgs.cs
- HandleCollector.cs
- SerializationObjectManager.cs