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
- DurableInstance.cs
- CodeStatement.cs
- PropertyValueChangedEvent.cs
- RandomDelaySendsAsyncResult.cs
- WS2007FederationHttpBindingElement.cs
- LinkArea.cs
- WebPartMinimizeVerb.cs
- WebException.cs
- SecurityPermission.cs
- SymbolType.cs
- DataTableNewRowEvent.cs
- TextPointerBase.cs
- BlurBitmapEffect.cs
- MenuCommands.cs
- SamlEvidence.cs
- DbCommandDefinition.cs
- XmlSerializerAssemblyAttribute.cs
- HtmlElement.cs
- DSGeneratorProblem.cs
- autovalidator.cs
- ParentQuery.cs
- LocalIdKeyIdentifierClause.cs
- AgileSafeNativeMemoryHandle.cs
- SelectedDatesCollection.cs
- ParseElementCollection.cs
- CompilerGlobalScopeAttribute.cs
- ResourcePool.cs
- CornerRadiusConverter.cs
- TextBounds.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- HandledMouseEvent.cs
- TrustLevelCollection.cs
- GeneralTransform3D.cs
- RuntimeResourceSet.cs
- RTTrackingProfile.cs
- WebPartsPersonalization.cs
- TraceContextEventArgs.cs
- UTF7Encoding.cs
- Vector3DAnimationUsingKeyFrames.cs
- NetStream.cs
- InvalidPropValue.cs
- ManagementInstaller.cs
- DrawingImage.cs
- DataGridViewColumn.cs
- HeaderedItemsControl.cs
- ActiveXContainer.cs
- AuthenticationModulesSection.cs
- DataGridViewColumnTypeEditor.cs
- StringWriter.cs
- BaseTemplateParser.cs
- InfoCardTrace.cs
- FrameworkPropertyMetadata.cs
- _FtpControlStream.cs
- XhtmlBasicPhoneCallAdapter.cs
- PageSetupDialog.cs
- WhitespaceRuleLookup.cs
- ADMembershipProvider.cs
- Funcletizer.cs
- OracleSqlParser.cs
- PerformanceCountersElement.cs
- CapabilitiesUse.cs
- DesignBindingEditor.cs
- Buffer.cs
- DbConnectionPoolCounters.cs
- ProcessThreadCollection.cs
- ArraySortHelper.cs
- XmlChildEnumerator.cs
- DataColumnMappingCollection.cs
- Window.cs
- ExternalException.cs
- EnumConverter.cs
- XmlIlTypeHelper.cs
- SecurityResources.cs
- SchemaObjectWriter.cs
- Transactions.cs
- BinHexEncoder.cs
- HTMLTextWriter.cs
- DBCommandBuilder.cs
- SelectionBorderGlyph.cs
- MetaType.cs
- TextComposition.cs
- HttpApplication.cs
- DependencyObject.cs
- XPathNodePointer.cs
- EntityModelBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- HttpWriter.cs
- UpdatePanelTriggerCollection.cs
- AssemblyHelper.cs
- PowerModeChangedEventArgs.cs
- PatternMatcher.cs
- CodeSubDirectory.cs
- DrawingDrawingContext.cs
- EncoderFallback.cs
- InputProcessorProfilesLoader.cs
- Style.cs
- InfiniteTimeSpanConverter.cs
- LinqDataSourceSelectEventArgs.cs
- TreeNode.cs
- ProtectedConfigurationProviderCollection.cs