Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebDescriptionAttribute.cs / 1305376 / WebDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; [AttributeUsage(AttributeTargets.Property)] public class WebDescriptionAttribute : Attribute { public static readonly WebDescriptionAttribute Default = new WebDescriptionAttribute(); private string _description; public WebDescriptionAttribute() : this(String.Empty) { } public WebDescriptionAttribute(string description) { _description = description; } public virtual string Description { get { return DescriptionValue; } } protected string DescriptionValue { get { return _description; } set { _description = value; } } public override bool Equals(object obj) { if (obj == this) { return true; } WebDescriptionAttribute other = obj as WebDescriptionAttribute; return (other != null) && other.Description == Description; } public override int GetHashCode() { return Description.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
- PasswordDeriveBytes.cs
- ChtmlImageAdapter.cs
- streamingZipPartStream.cs
- XmlSchemaChoice.cs
- DesignTimeParseData.cs
- ButtonPopupAdapter.cs
- ImageButton.cs
- TypeElement.cs
- WebGetAttribute.cs
- SymbolType.cs
- LicenseProviderAttribute.cs
- GeometryGroup.cs
- SectionInformation.cs
- ForeignConstraint.cs
- CorrelationManager.cs
- EnumValidator.cs
- ClientSettingsProvider.cs
- PkcsMisc.cs
- SqlRecordBuffer.cs
- GridEntry.cs
- ConfigXmlCDataSection.cs
- CodeDirectoryCompiler.cs
- SafeEventLogWriteHandle.cs
- QueryPageSettingsEventArgs.cs
- TimeSpanValidatorAttribute.cs
- CompoundFileReference.cs
- SimpleBitVector32.cs
- TemplateControlParser.cs
- GZipStream.cs
- ThrowHelper.cs
- EncryptedPackage.cs
- WebPartDisplayModeCollection.cs
- Rect3D.cs
- LogExtent.cs
- Utils.cs
- StylusPointProperty.cs
- CodeAttachEventStatement.cs
- XamlTreeBuilder.cs
- ConcurrentDictionary.cs
- BlockingCollection.cs
- DecodeHelper.cs
- DetailsViewInsertedEventArgs.cs
- ArraySubsetEnumerator.cs
- TraceSource.cs
- AnnotationComponentManager.cs
- HtmlInputHidden.cs
- FixedDSBuilder.cs
- DispatcherHooks.cs
- LostFocusEventManager.cs
- SqlInternalConnection.cs
- AttachedPropertyMethodSelector.cs
- OutputWindow.cs
- ImageClickEventArgs.cs
- KeyGestureValueSerializer.cs
- BindingBase.cs
- SqlDataReader.cs
- LinqDataSourceContextEventArgs.cs
- BamlLocalizationDictionary.cs
- XPathMultyIterator.cs
- DecoratedNameAttribute.cs
- SqlConnectionString.cs
- TabRenderer.cs
- TypeNameConverter.cs
- MappingItemCollection.cs
- WindowPattern.cs
- OverflowException.cs
- RectAnimation.cs
- SchemaInfo.cs
- NavigationPropertyEmitter.cs
- DoubleAnimationUsingPath.cs
- ConnectivityStatus.cs
- PagerSettings.cs
- ProxyGenerator.cs
- SqlRetyper.cs
- WebPartConnectionsCancelVerb.cs
- ArrayElementGridEntry.cs
- VariableExpressionConverter.cs
- NamespaceEmitter.cs
- ScrollViewerAutomationPeer.cs
- HttpChannelHelper.cs
- DesignerCatalogPartChrome.cs
- GB18030Encoding.cs
- WindowsIdentity.cs
- TextProviderWrapper.cs
- DependencyPropertyConverter.cs
- BuildResultCache.cs
- RemoteAsymmetricSignatureFormatter.cs
- ChannelPoolSettings.cs
- ColumnResizeUndoUnit.cs
- ThemeDirectoryCompiler.cs
- BaseParser.cs
- OrderPreservingPipeliningMergeHelper.cs
- FormViewInsertedEventArgs.cs
- EnumUnknown.cs
- SymmetricAlgorithm.cs
- TypefaceMetricsCache.cs
- PackageFilter.cs
- XmlSerializerAssemblyAttribute.cs
- Margins.cs
- RichTextBoxAutomationPeer.cs