Code:
/ FX-1434 / FX-1434 / 1.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
- XmlSchemaSimpleContent.cs
- DecoderFallback.cs
- TableAdapterManagerHelper.cs
- Currency.cs
- Triangle.cs
- FilterEventArgs.cs
- basecomparevalidator.cs
- AssemblyBuilderData.cs
- ConnectionPoolManager.cs
- RelationshipEndCollection.cs
- AudioLevelUpdatedEventArgs.cs
- CachedPathData.cs
- ReferenceSchema.cs
- RadioButtonRenderer.cs
- MetabaseReader.cs
- BlockCollection.cs
- Helpers.cs
- RoleManagerEventArgs.cs
- CancellationTokenSource.cs
- CharUnicodeInfo.cs
- IsolatedStorageFilePermission.cs
- XmlBoundElement.cs
- safex509handles.cs
- XPathCompileException.cs
- CodeDOMUtility.cs
- Vector3DCollectionValueSerializer.cs
- BinHexEncoding.cs
- TableRowCollection.cs
- ThicknessKeyFrameCollection.cs
- loginstatus.cs
- PreApplicationStartMethodAttribute.cs
- WindowsScrollBar.cs
- SHA512.cs
- TraceContextEventArgs.cs
- TdsParserHelperClasses.cs
- PageThemeParser.cs
- InlineCollection.cs
- SerializationObjectManager.cs
- SqlDataSourceSelectingEventArgs.cs
- WeakRefEnumerator.cs
- URLMembershipCondition.cs
- _Events.cs
- OleDbTransaction.cs
- ProcessModuleCollection.cs
- DataGridViewDesigner.cs
- SystemNetworkInterface.cs
- EmptyEnumerable.cs
- EntityDataSourceEntitySetNameItem.cs
- MetadataCache.cs
- AccessDataSource.cs
- DataBindingValueUIHandler.cs
- LineServicesRun.cs
- SmiEventStream.cs
- URLEditor.cs
- CroppedBitmap.cs
- DynamicDataExtensions.cs
- SelectionRange.cs
- ScriptControlDescriptor.cs
- ToolStripCustomTypeDescriptor.cs
- ClientSponsor.cs
- ScriptResourceInfo.cs
- Int32Rect.cs
- ConfigurationLocation.cs
- Binding.cs
- ImplicitInputBrush.cs
- PasswordTextContainer.cs
- WinInet.cs
- TypeSystem.cs
- OrderedHashRepartitionEnumerator.cs
- MexHttpsBindingCollectionElement.cs
- XsdCachingReader.cs
- XmlILModule.cs
- HtmlContainerControl.cs
- HttpRequestCacheValidator.cs
- TabControlAutomationPeer.cs
- TabControl.cs
- Rights.cs
- DbDeleteCommandTree.cs
- KeyBinding.cs
- TextDecoration.cs
- CultureSpecificCharacterBufferRange.cs
- TableStyle.cs
- BitmapFrameEncode.cs
- DateTimeConverter2.cs
- TransformerTypeCollection.cs
- XmlNavigatorStack.cs
- WebMethodAttribute.cs
- _Events.cs
- FormsAuthenticationModule.cs
- InternalsVisibleToAttribute.cs
- WindowsAuthenticationModule.cs
- BindingListCollectionView.cs
- MaskedTextBox.cs
- LayoutDump.cs
- ParallelForEach.cs
- ConfigPathUtility.cs
- contentDescriptor.cs
- FlowDocumentReader.cs
- DataGridViewCellCollection.cs
- SqlDataSourceCustomCommandEditor.cs