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
- XmlBinaryReader.cs
- Interlocked.cs
- DataGridViewCellPaintingEventArgs.cs
- SqlClientWrapperSmiStreamChars.cs
- DbReferenceCollection.cs
- XmlReflectionImporter.cs
- PreviewControlDesigner.cs
- wgx_exports.cs
- SettingsBindableAttribute.cs
- SoapEnumAttribute.cs
- FloaterBaseParaClient.cs
- MessageQueue.cs
- EntitySet.cs
- ChannelServices.cs
- ServerIdentity.cs
- UrlPropertyAttribute.cs
- DesignerSerializationOptionsAttribute.cs
- JoinElimination.cs
- HttpConfigurationSystem.cs
- SrgsRule.cs
- Logging.cs
- FormatControl.cs
- CodeExporter.cs
- TreeBuilderBamlTranslator.cs
- DbConnectionHelper.cs
- RegistryConfigurationProvider.cs
- ButtonStandardAdapter.cs
- Pts.cs
- WebControl.cs
- HTMLTextWriter.cs
- ColumnHeader.cs
- SHA1Cng.cs
- FlowPosition.cs
- XmlRootAttribute.cs
- UTF7Encoding.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- XmlSchemaChoice.cs
- ConfigurationSchemaErrors.cs
- COM2PropertyDescriptor.cs
- EntityViewGenerator.cs
- XmlAttribute.cs
- ResourceCategoryAttribute.cs
- DoubleAnimationBase.cs
- ViewLoader.cs
- DocumentSchemaValidator.cs
- XmlObjectSerializerReadContextComplex.cs
- HttpListenerException.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- HostAdapter.cs
- ToggleProviderWrapper.cs
- LineUtil.cs
- HostingEnvironment.cs
- InstanceDescriptor.cs
- SpeechUI.cs
- ClassImporter.cs
- XmlTextReader.cs
- Color.cs
- ModifiableIteratorCollection.cs
- TreeViewCancelEvent.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- BinaryMessageEncoder.cs
- GridViewCommandEventArgs.cs
- XmlTextReader.cs
- HtmlInputButton.cs
- MachineSettingsSection.cs
- TextSearch.cs
- FormViewInsertedEventArgs.cs
- WebControlsSection.cs
- _DynamicWinsockMethods.cs
- RawStylusInputCustomDataList.cs
- ScriptingRoleServiceSection.cs
- SQLDoubleStorage.cs
- DuplicateWaitObjectException.cs
- ScrollChrome.cs
- MessageSecurityOverHttp.cs
- GroupBoxDesigner.cs
- X509Utils.cs
- DataSourceDescriptorCollection.cs
- TextBoxBase.cs
- SortQuery.cs
- DiagnosticsConfigurationHandler.cs
- DeploymentExceptionMapper.cs
- Base64Decoder.cs
- Utils.cs
- TextBoxRenderer.cs
- SoapReflectionImporter.cs
- SurrogateDataContract.cs
- FixedSchema.cs
- PolicyLevel.cs
- _ProxyChain.cs
- EntityCommandDefinition.cs
- QueryCursorEventArgs.cs
- SafeEventLogWriteHandle.cs
- QueryOpeningEnumerator.cs
- ConnectionProviderAttribute.cs
- XmlSchemaElement.cs
- ConvertersCollection.cs
- XslAst.cs
- PreloadHost.cs
- SelectingProviderEventArgs.cs