Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / SupportsPreviewControlAttribute.cs / 1 / SupportsPreviewControlAttribute.cs
namespace System.Web.UI.Design { [AttributeUsage(AttributeTargets.Class)] public sealed class SupportsPreviewControlAttribute : Attribute { private bool _supportsPreviewControl; public static readonly SupportsPreviewControlAttribute Default = new SupportsPreviewControlAttribute(false); public SupportsPreviewControlAttribute(bool supportsPreviewControl) { _supportsPreviewControl = supportsPreviewControl; } public bool SupportsPreviewControl { get { return _supportsPreviewControl; } } public override int GetHashCode() { return _supportsPreviewControl.GetHashCode(); } public override bool IsDefaultAttribute() { return this.Equals(Default); } public override bool Equals(object obj) { if (obj == this) { return true; } SupportsPreviewControlAttribute other = obj as SupportsPreviewControlAttribute; return (other != null) && (other.SupportsPreviewControl == _supportsPreviewControl); } } } // 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
- ModelTreeEnumerator.cs
- BindingBase.cs
- ContextCorrelationInitializer.cs
- UnsignedPublishLicense.cs
- CapabilitiesSection.cs
- CompiledAction.cs
- ListenerElementsCollection.cs
- ModelUIElement3D.cs
- ProtocolElementCollection.cs
- PrinterResolution.cs
- XPathDescendantIterator.cs
- CommentAction.cs
- XslException.cs
- DtdParser.cs
- UriParserTemplates.cs
- ValueQuery.cs
- HtmlEncodedRawTextWriter.cs
- SubordinateTransaction.cs
- Interlocked.cs
- FlagsAttribute.cs
- InternalControlCollection.cs
- FixedDocumentPaginator.cs
- RequestQueryProcessor.cs
- QuaternionAnimation.cs
- DataServiceResponse.cs
- LayoutDump.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- NotificationContext.cs
- XPathMultyIterator.cs
- XmlEncoding.cs
- LinkDesigner.cs
- X509LogoTypeExtension.cs
- FrameworkElementAutomationPeer.cs
- PathGeometry.cs
- BindValidator.cs
- DiagnosticTrace.cs
- ConstrainedDataObject.cs
- IndexedEnumerable.cs
- CodeArgumentReferenceExpression.cs
- DynamicValidatorEventArgs.cs
- ProcessThread.cs
- HtmlElement.cs
- DependencyProperty.cs
- DefaultValueConverter.cs
- ConstrainedGroup.cs
- UnionExpr.cs
- DeviceContext2.cs
- SchemaSetCompiler.cs
- MSHTMLHost.cs
- LoadRetryConstantStrategy.cs
- URLIdentityPermission.cs
- StaticSiteMapProvider.cs
- WinEventHandler.cs
- AutomationPropertyInfo.cs
- ContractListAdapter.cs
- FixedLineResult.cs
- TextTreeObjectNode.cs
- GiveFeedbackEvent.cs
- MbpInfo.cs
- ProcessHostConfigUtils.cs
- GestureRecognizer.cs
- UrlPath.cs
- DataListItemEventArgs.cs
- IArgumentProvider.cs
- _ConnectStream.cs
- ScrollBarRenderer.cs
- Identity.cs
- SerializeAbsoluteContext.cs
- DesignerVerbCollection.cs
- EllipseGeometry.cs
- SmiSettersStream.cs
- XmlNamespaceMapping.cs
- RadioButtonStandardAdapter.cs
- RequestBringIntoViewEventArgs.cs
- OutputCacheSettingsSection.cs
- AppDomainUnloadedException.cs
- InputScope.cs
- TreeNodeStyleCollection.cs
- TextSegment.cs
- WebDescriptionAttribute.cs
- ComponentConverter.cs
- AsyncResult.cs
- Perspective.cs
- MarkupExtensionReturnTypeAttribute.cs
- RegexTree.cs
- OleDbParameter.cs
- WebPartConnectionsEventArgs.cs
- _SslSessionsCache.cs
- BehaviorEditorPart.cs
- CopyOnWriteList.cs
- DBCSCodePageEncoding.cs
- EncryptedPackage.cs
- PersonalizationStateInfo.cs
- StringDictionary.cs
- Int32Collection.cs
- HtmlMeta.cs
- Buffer.cs
- DurableMessageDispatchInspector.cs
- DataPagerFieldCollection.cs
- Condition.cs