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
- FlowLayoutSettings.cs
- DecoderBestFitFallback.cs
- Certificate.cs
- DataControlButton.cs
- RectangleF.cs
- ReadOnlyDictionary.cs
- DesignTimeVisibleAttribute.cs
- UnsafeNativeMethods.cs
- Group.cs
- ArrayConverter.cs
- EntityProviderServices.cs
- ResourceWriter.cs
- mediaeventargs.cs
- GridEntryCollection.cs
- StrokeNodeEnumerator.cs
- AuthorizationRule.cs
- ApplicationFileCodeDomTreeGenerator.cs
- HtmlInputSubmit.cs
- ObjectViewListener.cs
- OleDbFactory.cs
- UidPropertyAttribute.cs
- PathFigureCollectionConverter.cs
- TextTreeTextBlock.cs
- TextContainerHelper.cs
- CustomCredentialPolicy.cs
- SocketManager.cs
- VisualStyleTypesAndProperties.cs
- InkPresenterAutomationPeer.cs
- SocketInformation.cs
- WebConfigurationFileMap.cs
- RelationshipConstraintValidator.cs
- CompilerScope.Storage.cs
- MdiWindowListStrip.cs
- ChunkedMemoryStream.cs
- TypeUnloadedException.cs
- TemplateEditingService.cs
- DataBoundLiteralControl.cs
- DataGridBoolColumn.cs
- FlowNode.cs
- AnimationLayer.cs
- XsltContext.cs
- FloaterBaseParagraph.cs
- RangeValidator.cs
- AuthStoreRoleProvider.cs
- OutputCacheSection.cs
- CheckBoxBaseAdapter.cs
- GenericEnumConverter.cs
- BaseParagraph.cs
- TransformerTypeCollection.cs
- RegionInfo.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- PathFigure.cs
- FilteredAttributeCollection.cs
- UpdateTranslator.cs
- XPathNodeList.cs
- TextSpanModifier.cs
- Rotation3DKeyFrameCollection.cs
- PropertyChangedEventManager.cs
- EncryptedPackage.cs
- CodeTypeParameterCollection.cs
- QilParameter.cs
- Exceptions.cs
- ByteRangeDownloader.cs
- MenuItemStyle.cs
- ChildDocumentBlock.cs
- TextRangeEdit.cs
- OleDbConnectionInternal.cs
- DataGridViewColumnCollection.cs
- FixedSOMPage.cs
- storepermission.cs
- FontInfo.cs
- InternalEnumValidatorAttribute.cs
- SqlVisitor.cs
- CompilationUnit.cs
- HtmlUtf8RawTextWriter.cs
- diagnosticsswitches.cs
- ExclusiveTcpListener.cs
- RelatedPropertyManager.cs
- XamlWriter.cs
- FontFamilyIdentifier.cs
- TextAutomationPeer.cs
- MbpInfo.cs
- TraceSection.cs
- _CookieModule.cs
- Profiler.cs
- EntityObject.cs
- ButtonFieldBase.cs
- LineUtil.cs
- PackageProperties.cs
- EventDescriptor.cs
- UICuesEvent.cs
- ListBox.cs
- XmlToDatasetMap.cs
- TextEditorTyping.cs
- BinHexEncoder.cs
- LockCookie.cs
- HttpBindingExtension.cs
- _PooledStream.cs
- SymmetricAlgorithm.cs
- _ConnectOverlappedAsyncResult.cs