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
- oledbmetadatacollectionnames.cs
- Scene3D.cs
- Utils.cs
- SubMenuStyleCollection.cs
- HMACSHA256.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SerializerProvider.cs
- TextTrailingCharacterEllipsis.cs
- Authorization.cs
- DataGridViewDataConnection.cs
- OdbcDataReader.cs
- xsdvalidator.cs
- ExtensionDataReader.cs
- BehaviorEditorPart.cs
- WindowsScrollBarBits.cs
- SmtpNegotiateAuthenticationModule.cs
- SQLInt16Storage.cs
- XamlFilter.cs
- Hex.cs
- HttpsTransportElement.cs
- Point3DIndependentAnimationStorage.cs
- Helpers.cs
- MsmqIntegrationReceiveParameters.cs
- PersonalizationProviderCollection.cs
- MexTcpBindingElement.cs
- StringExpressionSet.cs
- ServiceDescriptionReflector.cs
- Control.cs
- FileVersion.cs
- ConfigurationConverterBase.cs
- SecurityVerifiedMessage.cs
- ObjectStateFormatter.cs
- ContextBase.cs
- SmtpReplyReaderFactory.cs
- SortableBindingList.cs
- RestHandler.cs
- RenderingBiasValidation.cs
- MemberCollection.cs
- TypedTableBaseExtensions.cs
- DrawingGroup.cs
- SqlDataSourceTableQuery.cs
- JoinSymbol.cs
- StructuredTypeEmitter.cs
- XmlReader.cs
- GridViewRowCollection.cs
- XmlSchemaInferenceException.cs
- SchemaTableOptionalColumn.cs
- VariantWrapper.cs
- NetTcpBindingElement.cs
- ConfigXmlAttribute.cs
- StylusCaptureWithinProperty.cs
- CorruptStoreException.cs
- ArgumentElement.cs
- XmlDeclaration.cs
- PrintDialog.cs
- RequestCachePolicyConverter.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- Pkcs7Recipient.cs
- EventWaitHandle.cs
- DefaultValueTypeConverter.cs
- MetadataPropertyCollection.cs
- CompatibleComparer.cs
- EntityModelBuildProvider.cs
- HttpListenerException.cs
- SafeSecurityHandles.cs
- ControlCollection.cs
- RadioButtonStandardAdapter.cs
- DelayDesigner.cs
- RoleService.cs
- ObjectManager.cs
- ConfigXmlSignificantWhitespace.cs
- SoapAttributeAttribute.cs
- DataColumnCollection.cs
- DynamicValidatorEventArgs.cs
- CompilerHelpers.cs
- odbcmetadatacollectionnames.cs
- Range.cs
- PatternMatcher.cs
- ProtocolsConfigurationEntry.cs
- XmlHelper.cs
- ClonableStack.cs
- FontFamily.cs
- InvalidateEvent.cs
- OptimizedTemplateContent.cs
- SqlException.cs
- EndpointDispatcher.cs
- MissingMemberException.cs
- TcpProcessProtocolHandler.cs
- CalendarAutoFormat.cs
- XmlSchemaProviderAttribute.cs
- NotifyParentPropertyAttribute.cs
- SrgsRule.cs
- SmtpFailedRecipientException.cs
- BamlLocalizableResource.cs
- SystemTcpConnection.cs
- EncoderReplacementFallback.cs
- PathFigureCollectionConverter.cs
- TextSchema.cs
- SelectionBorderGlyph.cs
- SafeMILHandle.cs