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
- NullableDecimalAverageAggregationOperator.cs
- ClrProviderManifest.cs
- RawStylusInput.cs
- GridItemCollection.cs
- TrustManager.cs
- DataListCommandEventArgs.cs
- RenderDataDrawingContext.cs
- DateTimeSerializationSection.cs
- PropertyConverter.cs
- recordstatescratchpad.cs
- AttributeParameterInfo.cs
- ThreadExceptionEvent.cs
- EntityContainer.cs
- SymLanguageType.cs
- DataGridClipboardCellContent.cs
- ObjectViewEntityCollectionData.cs
- ClientScriptItem.cs
- XmlAnyAttributeAttribute.cs
- Error.cs
- DataGridColumnCollection.cs
- XPathBinder.cs
- PathGradientBrush.cs
- DataViewManagerListItemTypeDescriptor.cs
- PropVariant.cs
- CollectionView.cs
- PEFileEvidenceFactory.cs
- TextRange.cs
- ZipIOBlockManager.cs
- EditorZoneDesigner.cs
- TypeToken.cs
- CodeSnippetCompileUnit.cs
- NativeCppClassAttribute.cs
- HTMLTagNameToTypeMapper.cs
- ItemCheckedEvent.cs
- ExpressionBinding.cs
- LassoHelper.cs
- MD5.cs
- ByteAnimation.cs
- KeyFrames.cs
- ResetableIterator.cs
- WpfWebRequestHelper.cs
- BridgeDataReader.cs
- PersonalizationProvider.cs
- SmiMetaDataProperty.cs
- ImpersonationContext.cs
- PathGeometry.cs
- XPathNode.cs
- DependencySource.cs
- BitmapFrameDecode.cs
- ThicknessAnimationBase.cs
- Util.cs
- Types.cs
- DesignerTransactionCloseEvent.cs
- UTF32Encoding.cs
- UnknownBitmapEncoder.cs
- MailWebEventProvider.cs
- SerializationEventsCache.cs
- AdRotator.cs
- filewebresponse.cs
- XmlSchemaSimpleType.cs
- Overlapped.cs
- TextRangeSerialization.cs
- InputLanguageProfileNotifySink.cs
- EntityDataSourceContextDisposingEventArgs.cs
- SafeCoTaskMem.cs
- XmlSchemaSimpleTypeRestriction.cs
- SiteMapHierarchicalDataSourceView.cs
- BitmapEffectInputConnector.cs
- Point3DAnimationUsingKeyFrames.cs
- TreeNodeBindingCollection.cs
- IdentityHolder.cs
- DriveInfo.cs
- EventDescriptorCollection.cs
- webproxy.cs
- GetResponse.cs
- JapaneseLunisolarCalendar.cs
- Point4DValueSerializer.cs
- XmlWellformedWriter.cs
- Label.cs
- PeerChannelListener.cs
- CreatingCookieEventArgs.cs
- WindowsSspiNegotiation.cs
- ObjectToken.cs
- PageBuildProvider.cs
- Int32RectValueSerializer.cs
- ColumnReorderedEventArgs.cs
- LineGeometry.cs
- PageRequestManager.cs
- ToolStripPanelCell.cs
- FilterFactory.cs
- DataGridTableCollection.cs
- CodeVariableReferenceExpression.cs
- SharedConnectionInfo.cs
- SqlDataSourceView.cs
- ClientSession.cs
- SmtpNegotiateAuthenticationModule.cs
- ItemCollectionEditor.cs
- HyperLinkField.cs
- Hash.cs
- HostedHttpRequestAsyncResult.cs