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
- DisplayInformation.cs
- DocumentEventArgs.cs
- SimplePropertyEntry.cs
- ConfigurationErrorsException.cs
- RowSpanVector.cs
- HttpTransportManager.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- SmtpNetworkElement.cs
- ForeignKeyConstraint.cs
- RectValueSerializer.cs
- WriteLine.cs
- RoleBoolean.cs
- RNGCryptoServiceProvider.cs
- _OSSOCK.cs
- SchemaTypeEmitter.cs
- TypeInfo.cs
- SHA512CryptoServiceProvider.cs
- Rect.cs
- UserNameSecurityTokenProvider.cs
- SqlProviderUtilities.cs
- PriorityBinding.cs
- InsufficientMemoryException.cs
- ReadOnlyDataSourceView.cs
- ComEventsMethod.cs
- DurationConverter.cs
- Brush.cs
- MDIClient.cs
- Maps.cs
- ListViewDeleteEventArgs.cs
- ButtonRenderer.cs
- IxmlLineInfo.cs
- ReadContentAsBinaryHelper.cs
- WebPartPersonalization.cs
- NamedPermissionSet.cs
- Graphics.cs
- CaretElement.cs
- ApplicationServiceManager.cs
- NativeActivityContext.cs
- AbandonedMutexException.cs
- activationcontext.cs
- ReturnValue.cs
- RegisteredHiddenField.cs
- ColumnBinding.cs
- OleDbParameterCollection.cs
- SqlTransaction.cs
- ButtonBaseAutomationPeer.cs
- ShimAsPublicXamlType.cs
- HiddenFieldPageStatePersister.cs
- AssociationEndMember.cs
- HttpProfileBase.cs
- MiniMapControl.xaml.cs
- AsyncDataRequest.cs
- DependencyPropertyChangedEventArgs.cs
- EndEvent.cs
- ByteAnimationUsingKeyFrames.cs
- FieldNameLookup.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- SchemaConstraints.cs
- XmlCharacterData.cs
- Vars.cs
- EntityDataSourceUtil.cs
- Matrix.cs
- SafeEventLogWriteHandle.cs
- FixedTextContainer.cs
- GeneralTransform3D.cs
- ValueQuery.cs
- ClassImporter.cs
- ReadWriteObjectLock.cs
- FloaterParaClient.cs
- NavigatorInvalidBodyAccessException.cs
- FixedSOMTableRow.cs
- IsolatedStorageSecurityState.cs
- DynamicDocumentPaginator.cs
- HttpModuleAction.cs
- RemoteCryptoSignHashRequest.cs
- PasswordBox.cs
- ButtonRenderer.cs
- Utilities.cs
- GridItemCollection.cs
- Wildcard.cs
- FormView.cs
- SmtpNtlmAuthenticationModule.cs
- GridToolTip.cs
- FormsAuthentication.cs
- EasingKeyFrames.cs
- EFDataModelProvider.cs
- CounterSetInstance.cs
- ConnectionPointGlyph.cs
- PolicyChain.cs
- unsafeIndexingFilterStream.cs
- RenderData.cs
- SocketAddress.cs
- TextTabProperties.cs
- SqlDataSourceQueryEditor.cs
- Bidi.cs
- DataKey.cs
- ComplexPropertyEntry.cs
- OleDbRowUpdatedEvent.cs
- PlatformNotSupportedException.cs
- SelectionProcessor.cs