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
- PersianCalendar.cs
- TargetInvocationException.cs
- Operator.cs
- TabControlAutomationPeer.cs
- SHA1CryptoServiceProvider.cs
- WebBaseEventKeyComparer.cs
- AbsoluteQuery.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ComEventsMethod.cs
- TemplatedMailWebEventProvider.cs
- WebSysDefaultValueAttribute.cs
- ImpersonateTokenRef.cs
- WindowCollection.cs
- XmlDocument.cs
- XmlStreamStore.cs
- Trace.cs
- HttpCacheVaryByContentEncodings.cs
- OleDbReferenceCollection.cs
- BufferBuilder.cs
- XNodeValidator.cs
- Identity.cs
- SchemaComplexType.cs
- StateManagedCollection.cs
- DesignerTextWriter.cs
- EnumUnknown.cs
- FontCacheUtil.cs
- ContentAlignmentEditor.cs
- PageContent.cs
- ExpressionConverter.cs
- Int32EqualityComparer.cs
- TransactionScope.cs
- PathSegment.cs
- AccessViolationException.cs
- StyleCollectionEditor.cs
- SqlDependency.cs
- _NestedSingleAsyncResult.cs
- ByteAnimationUsingKeyFrames.cs
- WebPartConnectionsCancelVerb.cs
- ManagementObject.cs
- CollectionViewGroupRoot.cs
- Semaphore.cs
- HostVisual.cs
- SqlFunctionAttribute.cs
- WorkflowViewService.cs
- Label.cs
- QueryOperator.cs
- ReadWriteSpinLock.cs
- PageContentAsyncResult.cs
- PartialTrustHelpers.cs
- FreeFormDesigner.cs
- SchemaHelper.cs
- TextDecorationCollectionConverter.cs
- StringFreezingAttribute.cs
- SendKeys.cs
- DllNotFoundException.cs
- FacetValues.cs
- XmlValidatingReader.cs
- ResourceReader.cs
- AuthenticationSection.cs
- ContourSegment.cs
- AnnotationService.cs
- TCEAdapterGenerator.cs
- ObjectListTitleAttribute.cs
- TabControlAutomationPeer.cs
- HMACSHA1.cs
- PluralizationServiceUtil.cs
- WebPageTraceListener.cs
- CustomExpressionEventArgs.cs
- QuaternionIndependentAnimationStorage.cs
- RSAProtectedConfigurationProvider.cs
- COM2PropertyPageUITypeConverter.cs
- ISessionStateStore.cs
- RepeaterItem.cs
- ConstraintCollection.cs
- PageAdapter.cs
- TypeReference.cs
- ProjectionRewriter.cs
- DBSchemaRow.cs
- XmlSchemaSubstitutionGroup.cs
- WindowsEditBoxRange.cs
- ReturnValue.cs
- CodeDomExtensionMethods.cs
- DataControlImageButton.cs
- MissingMethodException.cs
- TextServicesDisplayAttribute.cs
- __FastResourceComparer.cs
- WindowsFormsHostAutomationPeer.cs
- XhtmlBasicPanelAdapter.cs
- Symbol.cs
- StrokeFIndices.cs
- cookiecollection.cs
- TablePatternIdentifiers.cs
- AnimationStorage.cs
- UserControlDesigner.cs
- Int64Storage.cs
- UpdatableGenericsFeature.cs
- X509Utils.cs
- FaultDesigner.cs
- ObjectQuery.cs
- PageTheme.cs