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
- AnimationTimeline.cs
- TypedDatasetGenerator.cs
- CodeSnippetTypeMember.cs
- AdRotator.cs
- PointCollectionValueSerializer.cs
- SoapSchemaImporter.cs
- BindingSource.cs
- ColorContextHelper.cs
- CharacterBufferReference.cs
- ReverseInheritProperty.cs
- Soap.cs
- TextEditorDragDrop.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- ListViewTableCell.cs
- HyperLinkField.cs
- PageTheme.cs
- EventLogTraceListener.cs
- UndoEngine.cs
- HtmlToClrEventProxy.cs
- CodeMemberField.cs
- PassportIdentity.cs
- AmbientLight.cs
- DesigntimeLicenseContextSerializer.cs
- FixedBufferAttribute.cs
- BinHexEncoder.cs
- UnionCodeGroup.cs
- Regex.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- TextContainer.cs
- WebBrowserNavigatedEventHandler.cs
- SizeIndependentAnimationStorage.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- LineVisual.cs
- DBSchemaRow.cs
- DataTemplateKey.cs
- EntityTypeEmitter.cs
- Vector3DCollection.cs
- XmlSchemaSimpleContentExtension.cs
- AuthorizationRule.cs
- InternalCache.cs
- HttpErrorTraceRecord.cs
- XmlSerializationWriter.cs
- WebPartZoneCollection.cs
- BindUriHelper.cs
- SecUtil.cs
- Rijndael.cs
- Line.cs
- ToolStripSeparatorRenderEventArgs.cs
- StylusShape.cs
- SimpleTypeResolver.cs
- SatelliteContractVersionAttribute.cs
- SettingsProperty.cs
- ExpandCollapseProviderWrapper.cs
- SqlXml.cs
- AmbientLight.cs
- HttpListenerPrefixCollection.cs
- XmlnsDefinitionAttribute.cs
- QueryResponse.cs
- ReaderWriterLockWrapper.cs
- OdbcErrorCollection.cs
- PipeSecurity.cs
- WebPartConnection.cs
- MatrixAnimationUsingPath.cs
- WebEvents.cs
- ResourceProviderFactory.cs
- CommandHelper.cs
- ProcessInfo.cs
- RepeaterItemEventArgs.cs
- ContextStack.cs
- GlyphRunDrawing.cs
- FixedTextContainer.cs
- XslAst.cs
- MimeParameters.cs
- DiscoveryClientRequestChannel.cs
- RoutedPropertyChangedEventArgs.cs
- SelfIssuedAuthProofToken.cs
- GlyphRunDrawing.cs
- WasHttpModulesInstallComponent.cs
- FileAccessException.cs
- ToolBarOverflowPanel.cs
- StorageMappingFragment.cs
- ApplicationFileParser.cs
- OleDbEnumerator.cs
- VisualBrush.cs
- ResumeStoryboard.cs
- SafeWaitHandle.cs
- ThreadSafeList.cs
- OleDbRowUpdatedEvent.cs
- PassportAuthenticationEventArgs.cs
- AssemblyBuilder.cs
- FamilyMap.cs
- BuildProviderAppliesToAttribute.cs
- CredentialCache.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- PrintSystemException.cs
- QueryOpcode.cs
- OLEDB_Enum.cs
- DBDataPermission.cs
- EntityUtil.cs
- StubHelpers.cs