Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControlPersistable.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BamlRecordWriter.cs
- Error.cs
- BaseCodePageEncoding.cs
- DataBinder.cs
- SharedUtils.cs
- PrimitiveCodeDomSerializer.cs
- SslStream.cs
- __TransparentProxy.cs
- HtmlSelect.cs
- InternalConfigEventArgs.cs
- WebServiceMethodData.cs
- PlacementWorkspace.cs
- Floater.cs
- DataList.cs
- SignedInfo.cs
- StoragePropertyMapping.cs
- SqlUnionizer.cs
- SystemIPGlobalProperties.cs
- SiteMembershipCondition.cs
- HttpModuleActionCollection.cs
- DynamicDataRoute.cs
- XmlUtf8RawTextWriter.cs
- LocalIdKeyIdentifierClause.cs
- FreezableCollection.cs
- Focus.cs
- XmlDocumentFragment.cs
- DragEvent.cs
- Expressions.cs
- ReadOnlyDictionary.cs
- EnumMember.cs
- BinaryObjectWriter.cs
- GridItemCollection.cs
- SqlMetaData.cs
- CryptoConfig.cs
- HttpCapabilitiesBase.cs
- Tool.cs
- ExpressionPrefixAttribute.cs
- PointValueSerializer.cs
- SupportsEventValidationAttribute.cs
- Help.cs
- TreeIterator.cs
- dataobject.cs
- MessageSecurityVersion.cs
- CommandEventArgs.cs
- TypeConvertions.cs
- TemplatedControlDesigner.cs
- SystemDropShadowChrome.cs
- SimpleExpression.cs
- CompiledQuery.cs
- HtmlLiteralTextAdapter.cs
- TextTreePropertyUndoUnit.cs
- InnerItemCollectionView.cs
- ProtectedProviderSettings.cs
- SessionPageStatePersister.cs
- ErrorLog.cs
- ProcessThreadCollection.cs
- TextModifierScope.cs
- AlignmentYValidation.cs
- MarshalDirectiveException.cs
- PassportAuthenticationModule.cs
- NumberSubstitution.cs
- Accessible.cs
- StylusCaptureWithinProperty.cs
- listitem.cs
- GraphicsPathIterator.cs
- NumericUpDown.cs
- StrongNamePublicKeyBlob.cs
- InteropAutomationProvider.cs
- WindowsFormsSectionHandler.cs
- SizeChangedInfo.cs
- QueryStringParameter.cs
- TextTabProperties.cs
- WindowHideOrCloseTracker.cs
- Utils.cs
- TextSpanModifier.cs
- InkPresenterAutomationPeer.cs
- RefreshEventArgs.cs
- AsyncOperation.cs
- DuplicateWaitObjectException.cs
- BoundingRectTracker.cs
- DataGridTextBoxColumn.cs
- FolderLevelBuildProvider.cs
- DataMemberListEditor.cs
- HealthMonitoringSectionHelper.cs
- ConsoleKeyInfo.cs
- GPStream.cs
- LinqDataSourceDeleteEventArgs.cs
- EFTableProvider.cs
- ModelPropertyCollectionImpl.cs
- DelayedRegex.cs
- TextBoxAutomationPeer.cs
- TopClause.cs
- EventDescriptor.cs
- _UriSyntax.cs
- XmlDataSourceNodeDescriptor.cs
- AssertValidation.cs
- _DisconnectOverlappedAsyncResult.cs
- GPPOINTF.cs
- WindowsTreeView.cs
- FileInfo.cs