Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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)); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionContext.cs
- Solver.cs
- SQLUtility.cs
- securitycriticaldataformultiplegetandset.cs
- HttpListenerContext.cs
- ImageClickEventArgs.cs
- SingleObjectCollection.cs
- ToolStripTextBox.cs
- PersonalizationStateQuery.cs
- Predicate.cs
- ChtmlTextWriter.cs
- LabelEditEvent.cs
- DocumentXPathNavigator.cs
- TreeView.cs
- Util.cs
- KeyValuePair.cs
- WebPartUserCapability.cs
- DisableDpiAwarenessAttribute.cs
- AssemblyCache.cs
- EntityViewContainer.cs
- DataSetFieldSchema.cs
- MetabaseServerConfig.cs
- BufferedGenericXmlSecurityToken.cs
- PropertyGrid.cs
- FixedHighlight.cs
- SignatureHelper.cs
- TransformationRules.cs
- CursorInteropHelper.cs
- ApplicationSecurityInfo.cs
- TextSelectionHighlightLayer.cs
- DynamicActivityXamlReader.cs
- StylusPointProperty.cs
- SBCSCodePageEncoding.cs
- NumericUpDownAcceleration.cs
- GeometryCollection.cs
- PropertyInformation.cs
- XmlBinaryWriter.cs
- coordinatorfactory.cs
- XmlSchemaAny.cs
- BatchStream.cs
- COM2IDispatchConverter.cs
- TailCallAnalyzer.cs
- Delay.cs
- SoapEnumAttribute.cs
- SoapFormatterSinks.cs
- VariableQuery.cs
- ElementProxy.cs
- PageThemeBuildProvider.cs
- UIElementCollection.cs
- ApplicationServiceHelper.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- Marshal.cs
- Point3D.cs
- _ListenerResponseStream.cs
- VirtualDirectoryMapping.cs
- TextStore.cs
- ImageSourceConverter.cs
- MeshGeometry3D.cs
- DefaultValueConverter.cs
- BlobPersonalizationState.cs
- DecodeHelper.cs
- HttpProfileBase.cs
- LinearGradientBrush.cs
- XmlNodeReader.cs
- RegexNode.cs
- XPathBinder.cs
- TemplatedWizardStep.cs
- PropagatorResult.cs
- RemoteArgument.cs
- ToolStripSplitStackLayout.cs
- OutputCacheSettingsSection.cs
- NumberEdit.cs
- DiscoveryVersionConverter.cs
- AuthenticationModuleElementCollection.cs
- ColumnMapProcessor.cs
- XmlSignatureManifest.cs
- Win32Exception.cs
- SynchronizationValidator.cs
- BitmapEffect.cs
- TableItemPattern.cs
- LinkedResourceCollection.cs
- SectionInput.cs
- LinearGradientBrush.cs
- EditingCommands.cs
- ElementUtil.cs
- LinqDataSourceHelper.cs
- HighlightComponent.cs
- ProviderMetadataCachedInformation.cs
- HttpApplicationFactory.cs
- EventSetter.cs
- MediaContext.cs
- MsmqProcessProtocolHandler.cs
- SendKeys.cs
- EventLogInformation.cs
- TileModeValidation.cs
- XmlSchemaIdentityConstraint.cs
- Symbol.cs
- ProviderSettings.cs
- StyleXamlTreeBuilder.cs
- XmlConverter.cs