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
- DbExpressionVisitor_TResultType.cs
- FlatButtonAppearance.cs
- PipelineModuleStepContainer.cs
- precedingsibling.cs
- XmlEncoding.cs
- DesignerTextWriter.cs
- DesignerVerbCollection.cs
- ReaderWriterLock.cs
- BackgroundWorker.cs
- XhtmlBasicControlAdapter.cs
- ReadOnlyDictionary.cs
- WindowsListViewSubItem.cs
- InstallerTypeAttribute.cs
- Identity.cs
- SHA256Managed.cs
- DeferredElementTreeState.cs
- ByteAnimationUsingKeyFrames.cs
- SwitchElementsCollection.cs
- CheckBoxList.cs
- TableParaClient.cs
- AssemblyResourceLoader.cs
- ConnectionInterfaceCollection.cs
- FormatterConverter.cs
- X509CertificateCollection.cs
- ProfileSettingsCollection.cs
- UIElement.cs
- unsafenativemethodsother.cs
- RegexRunner.cs
- HyperLinkColumn.cs
- CodeThrowExceptionStatement.cs
- CLRBindingWorker.cs
- UnicodeEncoding.cs
- SchemaRegistration.cs
- TextTreeInsertElementUndoUnit.cs
- XmlTextAttribute.cs
- RsaKeyIdentifierClause.cs
- CacheSection.cs
- CapabilitiesState.cs
- ManifestResourceInfo.cs
- EmbeddedMailObjectCollectionEditor.cs
- Vector.cs
- ConstructorNeedsTagAttribute.cs
- ToolstripProfessionalRenderer.cs
- TableTextElementCollectionInternal.cs
- TreeNodeStyleCollection.cs
- VirtualizedItemPattern.cs
- EdmComplexTypeAttribute.cs
- BinaryCommonClasses.cs
- XmlUTF8TextReader.cs
- XmlSchemaSimpleTypeList.cs
- SqlAliaser.cs
- wgx_exports.cs
- DataGridAddNewRow.cs
- SpotLight.cs
- DynamicPropertyHolder.cs
- EntitySetBase.cs
- ValidationHelper.cs
- PopOutPanel.cs
- CodeCatchClauseCollection.cs
- WebBaseEventKeyComparer.cs
- CharacterString.cs
- WhitespaceRule.cs
- SafeMILHandle.cs
- JsonQueryStringConverter.cs
- XmlWriterSettings.cs
- DataRelationCollection.cs
- NumericUpDownAcceleration.cs
- DataException.cs
- SectionUpdates.cs
- HttpErrorTraceRecord.cs
- MetaModel.cs
- DriveNotFoundException.cs
- EqualityComparer.cs
- RuntimeTrackingProfile.cs
- LocalizedNameDescriptionPair.cs
- EditorPart.cs
- XmlDeclaration.cs
- EncoderReplacementFallback.cs
- XmlBaseReader.cs
- TileBrush.cs
- BitmapEffect.cs
- SQLRoleProvider.cs
- ListControlDesigner.cs
- _NegoState.cs
- ConfigXmlText.cs
- AtomServiceDocumentSerializer.cs
- StrongNameMembershipCondition.cs
- ResourcesGenerator.cs
- InputLanguageCollection.cs
- Trace.cs
- HttpCacheVary.cs
- ToolStripKeyboardHandlingService.cs
- TraceSource.cs
- RC2CryptoServiceProvider.cs
- XmlConvert.cs
- XhtmlBasicPageAdapter.cs
- ListQueryResults.cs
- StatusBar.cs
- WindowsRichEditRange.cs
- Span.cs