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
- RegexCharClass.cs
- ChtmlTextWriter.cs
- TraceHandlerErrorFormatter.cs
- HttpCacheVaryByContentEncodings.cs
- _UncName.cs
- PartEditor.cs
- HMACSHA512.cs
- SecurityResources.cs
- WorkBatch.cs
- SurrogateDataContract.cs
- ReadWriteSpinLock.cs
- CodeSnippetExpression.cs
- DeviceSpecificDialogCachedState.cs
- Matrix3DConverter.cs
- ConfigurationValue.cs
- DateTimeConverter2.cs
- TextEffectCollection.cs
- CodeIdentifiers.cs
- ExitEventArgs.cs
- EmptyEnumerable.cs
- HelpInfo.cs
- PolicyValidationException.cs
- DataGridRelationshipRow.cs
- StringStorage.cs
- EdmError.cs
- XNodeValidator.cs
- FixedSOMTableRow.cs
- RootBrowserWindow.cs
- ToolStripItem.cs
- WebEventCodes.cs
- StrongNameMembershipCondition.cs
- DataTableReader.cs
- SchemaNotation.cs
- GenericTypeParameterBuilder.cs
- Point3D.cs
- ActionFrame.cs
- XmlSchemaAppInfo.cs
- PanelDesigner.cs
- XpsImage.cs
- MetafileHeaderWmf.cs
- ProfileSettings.cs
- SwitchElementsCollection.cs
- SignatureResourceHelper.cs
- XPathEmptyIterator.cs
- HostExecutionContextManager.cs
- DbDeleteCommandTree.cs
- ThreadPoolTaskScheduler.cs
- DataGridViewMethods.cs
- SmiSettersStream.cs
- OuterGlowBitmapEffect.cs
- FrameworkElementFactory.cs
- LinqExpressionNormalizer.cs
- Invariant.cs
- IFlowDocumentViewer.cs
- HttpModulesSection.cs
- DeviceContext.cs
- ClientBuildManagerCallback.cs
- TextRunCacheImp.cs
- XamlParser.cs
- XmlC14NWriter.cs
- HttpProxyTransportBindingElement.cs
- ListenerPerfCounters.cs
- MetadataCache.cs
- WMICapabilities.cs
- DataGridViewCheckBoxCell.cs
- HttpSocketManager.cs
- IntranetCredentialPolicy.cs
- BooleanKeyFrameCollection.cs
- SqlFacetAttribute.cs
- HMACSHA384.cs
- VariableQuery.cs
- Stackframe.cs
- TextEndOfSegment.cs
- ListItemConverter.cs
- ControllableStoryboardAction.cs
- XmlWriterSettings.cs
- commandenforcer.cs
- XmlElementList.cs
- AuthenticationService.cs
- DiscardableAttribute.cs
- ApplicationServicesHostFactory.cs
- RowSpanVector.cs
- DoubleAnimationBase.cs
- TextComposition.cs
- Page.cs
- ProgressPage.cs
- CompilerGlobalScopeAttribute.cs
- Oid.cs
- EditorAttribute.cs
- DynamicQueryableWrapper.cs
- ConfigUtil.cs
- MultipleViewPattern.cs
- x509store.cs
- TypeDefinition.cs
- StrongNameIdentityPermission.cs
- HttpClientCertificate.cs
- PointConverter.cs
- DescendentsWalkerBase.cs
- BasicHttpMessageCredentialType.cs
- RelationshipEnd.cs