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
- SafePEFileHandle.cs
- ReadOnlyMetadataCollection.cs
- SystemIPInterfaceProperties.cs
- TdsParserStaticMethods.cs
- AccessDataSourceView.cs
- PatternMatcher.cs
- ViewValidator.cs
- CryptoStream.cs
- BevelBitmapEffect.cs
- BaseDataBoundControl.cs
- BulletDecorator.cs
- XPathAncestorIterator.cs
- WebScriptEnablingElement.cs
- _UriSyntax.cs
- BulletedListEventArgs.cs
- XamlDesignerSerializationManager.cs
- SafeFileMapViewHandle.cs
- TraceContextRecord.cs
- SmiMetaData.cs
- CngKeyCreationParameters.cs
- UdpDiscoveryEndpointElement.cs
- CatalogZone.cs
- DescendantQuery.cs
- HttpModuleCollection.cs
- TypeDependencyAttribute.cs
- TemplateField.cs
- ReversePositionQuery.cs
- ChannelSinkStacks.cs
- ToolStripPanelDesigner.cs
- Quaternion.cs
- InstanceHandleConflictException.cs
- ClientUtils.cs
- RepeaterItem.cs
- Cursors.cs
- TextCharacters.cs
- PrimitiveXmlSerializers.cs
- AuthenticationSection.cs
- Compiler.cs
- NavigationProperty.cs
- SessionConnectionReader.cs
- DashStyle.cs
- SqlBuilder.cs
- BitmapEffectrendercontext.cs
- SecurityUtils.cs
- EventLogPermissionEntryCollection.cs
- GrammarBuilderBase.cs
- ProjectionPlan.cs
- InstallerTypeAttribute.cs
- IdleTimeoutMonitor.cs
- TemplatePropertyEntry.cs
- Convert.cs
- CodeMemberProperty.cs
- HttpListenerRequest.cs
- RedistVersionInfo.cs
- InputLangChangeRequestEvent.cs
- ShimAsPublicXamlType.cs
- GlyphingCache.cs
- basevalidator.cs
- MetadataReference.cs
- RecognitionResult.cs
- Attributes.cs
- DataGridColumnHeaderCollection.cs
- Visitor.cs
- _SpnDictionary.cs
- LogSwitch.cs
- FillRuleValidation.cs
- WebPartCollection.cs
- AtomMaterializer.cs
- ClientType.cs
- NonClientArea.cs
- RowType.cs
- CheckBoxPopupAdapter.cs
- LinqDataSourceContextData.cs
- NullReferenceException.cs
- TiffBitmapDecoder.cs
- DeviceSpecificDialogCachedState.cs
- _SSPIWrapper.cs
- ConsoleKeyInfo.cs
- SizeChangedInfo.cs
- BitSet.cs
- DataGridViewCellValidatingEventArgs.cs
- BitmapEffectGeneralTransform.cs
- Rect3DConverter.cs
- PropertyTab.cs
- TextAction.cs
- HttpDebugHandler.cs
- WebPartDeleteVerb.cs
- ApplicationId.cs
- SemaphoreSecurity.cs
- TCEAdapterGenerator.cs
- ActiveXSite.cs
- CommandPlan.cs
- DbConnectionHelper.cs
- InfoCardMetadataExchangeClient.cs
- PageClientProxyGenerator.cs
- FullTextLine.cs
- FilteredAttributeCollection.cs
- ModelUIElement3D.cs
- PageRanges.cs
- UnsafeNativeMethodsTablet.cs