Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / HtmlControlPersistable.cs / 1 / HtmlControlPersistable.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.ComponentModel; using System; [AttributeUsage(AttributeTargets.Property)] internal sealed class HtmlControlPersistableAttribute : Attribute { internal static readonly HtmlControlPersistableAttribute Yes = new HtmlControlPersistableAttribute(true); internal static readonly HtmlControlPersistableAttribute No = new HtmlControlPersistableAttribute(false); internal static readonly HtmlControlPersistableAttribute Default = Yes; private bool persistable = true; internal HtmlControlPersistableAttribute(bool persistable) { this.persistable = persistable; } internal bool HtmlControlPersistable { get { return persistable; } } public override bool Equals(object obj) { if (obj == this) { return true; } HtmlControlPersistableAttribute other = obj as HtmlControlPersistableAttribute; return (other != null) && other.HtmlControlPersistable == persistable; } public override int GetHashCode() { return persistable.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
- updateconfighost.cs
- EventManager.cs
- OleDbDataAdapter.cs
- CommandBindingCollection.cs
- ElementUtil.cs
- LinqDataSourceValidationException.cs
- _NestedMultipleAsyncResult.cs
- HttpWrapper.cs
- StrokeNode.cs
- Lease.cs
- HijriCalendar.cs
- AssociationProvider.cs
- LogLogRecordEnumerator.cs
- SubMenuStyle.cs
- TypefaceCollection.cs
- StrongNamePublicKeyBlob.cs
- InlineCollection.cs
- SHA256CryptoServiceProvider.cs
- ErrorStyle.cs
- UndoEngine.cs
- KeyedHashAlgorithm.cs
- ImageAttributes.cs
- EmptyEnumerable.cs
- WebDisplayNameAttribute.cs
- MetafileHeaderEmf.cs
- IISUnsafeMethods.cs
- AxisAngleRotation3D.cs
- ListViewCommandEventArgs.cs
- XmlSchemaSimpleTypeUnion.cs
- StringAttributeCollection.cs
- EntityStoreSchemaGenerator.cs
- XmlSchemaDocumentation.cs
- ConnectionManagementSection.cs
- SortedDictionary.cs
- ConfigXmlCDataSection.cs
- FtpCachePolicyElement.cs
- IgnoreFileBuildProvider.cs
- Separator.cs
- _UncName.cs
- RuleAction.cs
- ConnectivityStatus.cs
- RotateTransform.cs
- CustomErrorsSectionWrapper.cs
- Point3DAnimationBase.cs
- DynamicResourceExtension.cs
- HGlobalSafeHandle.cs
- Help.cs
- SafeLibraryHandle.cs
- SizeConverter.cs
- AdornedElementPlaceholder.cs
- SiteMapPath.cs
- LineUtil.cs
- Column.cs
- DesignConnectionCollection.cs
- GeneralTransform3DGroup.cs
- SimpleFileLog.cs
- LinqDataSourceSelectEventArgs.cs
- ConfigurationSection.cs
- ObjectQuery_EntitySqlExtensions.cs
- SystemIPGlobalProperties.cs
- PathSegment.cs
- Tablet.cs
- XsdDateTime.cs
- DirectoryNotFoundException.cs
- Error.cs
- TcpChannelHelper.cs
- XmlNamespaceManager.cs
- ObjectHandle.cs
- RepeaterCommandEventArgs.cs
- CommandField.cs
- SQLInt32.cs
- CannotUnloadAppDomainException.cs
- MatrixAnimationUsingKeyFrames.cs
- SystemEvents.cs
- MarkupProperty.cs
- XmlEntityReference.cs
- SweepDirectionValidation.cs
- StopStoryboard.cs
- ProtocolViolationException.cs
- MessageSecurityProtocolFactory.cs
- QueryAccessibilityHelpEvent.cs
- ContextQuery.cs
- XslNumber.cs
- BrowserTree.cs
- ConstructorBuilder.cs
- SrgsOneOf.cs
- keycontainerpermission.cs
- ImageDrawing.cs
- Cursor.cs
- TypeUnloadedException.cs
- StringArrayConverter.cs
- SafeNativeMethods.cs
- PeerNameResolver.cs
- WebMessageBodyStyleHelper.cs
- ImageAnimator.cs
- ProfilePropertySettings.cs
- XmlWrappingWriter.cs
- SrgsText.cs
- EntityDataSourceReferenceGroup.cs
- WindowsIdentity.cs