Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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)); } } } // 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
- GridErrorDlg.cs
- WasEndpointConfigContainer.cs
- SqlProfileProvider.cs
- DateTime.cs
- ClientTargetSection.cs
- ZoomPercentageConverter.cs
- VirtualizedItemProviderWrapper.cs
- WebPartCatalogAddVerb.cs
- ADConnectionHelper.cs
- InsufficientMemoryException.cs
- ReadWriteSpinLock.cs
- SimpleRecyclingCache.cs
- SynchronizedInputProviderWrapper.cs
- SourceInterpreter.cs
- CacheSection.cs
- ListBoxItem.cs
- XmlSchemaImport.cs
- SplashScreen.cs
- SvcMapFileSerializer.cs
- WindowsListViewGroup.cs
- StaticResourceExtension.cs
- XslAst.cs
- InputLangChangeRequestEvent.cs
- AsyncStreamReader.cs
- UtilityExtension.cs
- DataSourceXmlClassAttribute.cs
- safesecurityhelperavalon.cs
- FontFamilyIdentifier.cs
- _NetworkingPerfCounters.cs
- TextTreeTextNode.cs
- SafeCryptoHandles.cs
- SamlAssertionKeyIdentifierClause.cs
- ObjectDataSourceFilteringEventArgs.cs
- StreamAsIStream.cs
- CheckPair.cs
- SafeThreadHandle.cs
- ReferenceEqualityComparer.cs
- log.cs
- CqlWriter.cs
- ColorBuilder.cs
- PrintDialogException.cs
- MsmqBindingElementBase.cs
- ReliabilityContractAttribute.cs
- TextContainerHelper.cs
- TextEditorSpelling.cs
- DataGridColumnHeader.cs
- ToolStripSystemRenderer.cs
- SystemWebExtensionsSectionGroup.cs
- OleDbParameterCollection.cs
- InternalRelationshipCollection.cs
- MimeWriter.cs
- ValuePatternIdentifiers.cs
- BinaryCommonClasses.cs
- Mappings.cs
- ApplicationTrust.cs
- _Rfc2616CacheValidators.cs
- FactoryMaker.cs
- AutoResetEvent.cs
- InstanceOwnerQueryResult.cs
- ListenerConfig.cs
- Style.cs
- SmtpMail.cs
- Image.cs
- GridViewPageEventArgs.cs
- Parser.cs
- RoleGroupCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ReferenceConverter.cs
- DateTimeValueSerializerContext.cs
- AutoGeneratedField.cs
- TypeDescriptorFilterService.cs
- Native.cs
- TextSelectionHighlightLayer.cs
- DataGridViewTextBoxCell.cs
- StorageRoot.cs
- ValidationRuleCollection.cs
- Expression.cs
- RoleService.cs
- BaseParaClient.cs
- Tuple.cs
- ReflectionServiceProvider.cs
- NodeFunctions.cs
- HashSetDebugView.cs
- SmiMetaDataProperty.cs
- TextCompositionEventArgs.cs
- JournalEntry.cs
- XmlTextReaderImplHelpers.cs
- ItemDragEvent.cs
- ColumnHeader.cs
- XmlSchemaImport.cs
- RoutedEventValueSerializer.cs
- HttpRequest.cs
- UidPropertyAttribute.cs
- DES.cs
- Matrix3D.cs
- TextChangedEventArgs.cs
- SimpleApplicationHost.cs
- InfoCardTrace.cs
- DropDownHolder.cs
- XmlHierarchicalDataSourceView.cs