Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / DataBindingHandlerAttribute.cs / 1 / DataBindingHandlerAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Globalization; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class DataBindingHandlerAttribute : Attribute { private string _typeName; ////// public static readonly DataBindingHandlerAttribute Default = new DataBindingHandlerAttribute(); ////// public DataBindingHandlerAttribute() { _typeName = String.Empty; } ////// public DataBindingHandlerAttribute(Type type) { _typeName = type.AssemblyQualifiedName; } ////// public DataBindingHandlerAttribute(string typeName) { _typeName = typeName; } ////// public string HandlerTypeName { get { return (_typeName != null ? _typeName : String.Empty); } } ///public override bool Equals(object obj) { if (obj == this) { return true; } DataBindingHandlerAttribute other = obj as DataBindingHandlerAttribute; if (other != null) { return (String.Compare(HandlerTypeName, other.HandlerTypeName, StringComparison.Ordinal) == 0); } return false; } /// public override int GetHashCode() { return HandlerTypeName.GetHashCode(); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XamlHostingSection.cs
- Native.cs
- DrawingVisualDrawingContext.cs
- NavigationService.cs
- EtwProvider.cs
- GetCardDetailsRequest.cs
- RangeExpression.cs
- ShaperBuffers.cs
- ButtonAutomationPeer.cs
- AsyncPostBackTrigger.cs
- EventItfInfo.cs
- TableStyle.cs
- Configuration.cs
- ImageEditor.cs
- SqlProvider.cs
- ServiceContractListItemList.cs
- EDesignUtil.cs
- CodeDomConfigurationHandler.cs
- GridView.cs
- DEREncoding.cs
- tabpagecollectioneditor.cs
- WindowsFormsSynchronizationContext.cs
- DebugInfoExpression.cs
- ConnectionsZoneAutoFormat.cs
- WebPartConnectionsCancelEventArgs.cs
- WizardSideBarListControlItem.cs
- ToolStripScrollButton.cs
- PathSegment.cs
- ActivityInfo.cs
- ScrollItemPatternIdentifiers.cs
- BindToObject.cs
- QilExpression.cs
- SoapMessage.cs
- LeftCellWrapper.cs
- SpellerError.cs
- SchemaElementDecl.cs
- MemoryPressure.cs
- VirtualPathData.cs
- SecurityContext.cs
- Wildcard.cs
- HeaderedContentControl.cs
- ValidationService.cs
- TreeViewImageKeyConverter.cs
- FuncCompletionCallbackWrapper.cs
- OleDbDataAdapter.cs
- Internal.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ApplicationActivator.cs
- DesignerListAdapter.cs
- HostedTransportConfigurationManager.cs
- HashCodeCombiner.cs
- ListSurrogate.cs
- DataGridViewCellParsingEventArgs.cs
- EventLogger.cs
- RectConverter.cs
- FillErrorEventArgs.cs
- LineBreakRecord.cs
- Environment.cs
- XmlReflectionMember.cs
- CSharpCodeProvider.cs
- ProxySimple.cs
- TypeViewSchema.cs
- PositiveTimeSpanValidator.cs
- InteropEnvironment.cs
- RtType.cs
- LayoutManager.cs
- Point.cs
- InputLangChangeRequestEvent.cs
- OracleConnectionFactory.cs
- OdbcConnectionOpen.cs
- DuplicateDetector.cs
- SelectionChangedEventArgs.cs
- LayoutSettings.cs
- GeometryHitTestResult.cs
- EnlistmentTraceIdentifier.cs
- SoapObjectInfo.cs
- HideDisabledControlAdapter.cs
- QueueSurrogate.cs
- DefaultSection.cs
- Helpers.cs
- ConfigXmlComment.cs
- SystemException.cs
- NotifyIcon.cs
- GeometryCombineModeValidation.cs
- CaseInsensitiveHashCodeProvider.cs
- CustomValidator.cs
- ContextMenu.cs
- SafeNativeMethods.cs
- FocusManager.cs
- NativeMethods.cs
- Stylesheet.cs
- SqlUtil.cs
- QuotedStringFormatReader.cs
- Parallel.cs
- SqlUdtInfo.cs
- ThreadSafeList.cs
- bidPrivateBase.cs
- SafeBitVector32.cs
- Geometry3D.cs
- PointLightBase.cs