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
- TableLayoutPanelCellPosition.cs
- OleDbInfoMessageEvent.cs
- CoreChannel.cs
- CapabilitiesState.cs
- SerializationFieldInfo.cs
- WebConfigurationHostFileChange.cs
- XmlRootAttribute.cs
- XMLSchema.cs
- ValueTypeFixupInfo.cs
- ToolStripItemImageRenderEventArgs.cs
- RSAPKCS1SignatureFormatter.cs
- GridSplitterAutomationPeer.cs
- OLEDB_Util.cs
- FastEncoderWindow.cs
- RegisteredExpandoAttribute.cs
- ISAPIWorkerRequest.cs
- SqlDataSourceQuery.cs
- XmlHierarchicalDataSourceView.cs
- DbBuffer.cs
- EndpointAddressMessageFilterTable.cs
- _SslState.cs
- ClaimComparer.cs
- IsolatedStorage.cs
- ToolboxCategoryItems.cs
- XmlSchemaRedefine.cs
- FormParameter.cs
- RelatedCurrencyManager.cs
- DataSourceControlBuilder.cs
- ParseNumbers.cs
- Simplifier.cs
- BaseServiceProvider.cs
- ConversionHelper.cs
- MeasurementDCInfo.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Monitor.cs
- PeerTransportCredentialType.cs
- DocumentViewerConstants.cs
- LockedActivityGlyph.cs
- ThrowHelper.cs
- ResourceDisplayNameAttribute.cs
- CompiledRegexRunnerFactory.cs
- WebPartDisplayMode.cs
- TemplatePagerField.cs
- BitmapEffectOutputConnector.cs
- AlphabeticalEnumConverter.cs
- XmlIncludeAttribute.cs
- XmlAtomicValue.cs
- WebBrowserNavigatingEventHandler.cs
- SharedUtils.cs
- DoubleStorage.cs
- CodeEntryPointMethod.cs
- HTMLTextWriter.cs
- DataGridCheckBoxColumn.cs
- DataKeyCollection.cs
- FixedPageProcessor.cs
- DbFunctionCommandTree.cs
- ApplicationGesture.cs
- SynchronizedPool.cs
- ManagementEventWatcher.cs
- XmlWhitespace.cs
- RightsManagementPermission.cs
- GraphicsContext.cs
- SmiXetterAccessMap.cs
- ApplicationDirectory.cs
- CryptoHelper.cs
- MailWebEventProvider.cs
- PropertyMap.cs
- IndexerNameAttribute.cs
- OdbcUtils.cs
- MessageQueueInstaller.cs
- SqlTrackingQuery.cs
- RequestNavigateEventArgs.cs
- RecognizerInfo.cs
- SystemBrushes.cs
- DataGridViewMethods.cs
- assertwrapper.cs
- ListViewItemEventArgs.cs
- BoundPropertyEntry.cs
- EpmAttributeNameBuilder.cs
- CheckBoxDesigner.cs
- CuspData.cs
- HtmlAnchor.cs
- DataGridColumnHeadersPresenter.cs
- SoapIgnoreAttribute.cs
- MachineKeySection.cs
- Int32Converter.cs
- JsonDataContract.cs
- ClientSettingsStore.cs
- XmlILConstructAnalyzer.cs
- AllMembershipCondition.cs
- PriorityBinding.cs
- ReadingWritingEntityEventArgs.cs
- PropertyEmitterBase.cs
- PlanCompiler.cs
- Column.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ParameterModifier.cs
- DataMisalignedException.cs
- metadatamappinghashervisitor.cs
- EntityDataSourceStatementEditorForm.cs