Code:
/ FX-1434 / FX-1434 / 1.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
- ConditionBrowserDialog.cs
- ApplicationTrust.cs
- TrackingLocation.cs
- CodeArrayIndexerExpression.cs
- diagnosticsswitches.cs
- Brush.cs
- SqlRowUpdatedEvent.cs
- ResXDataNode.cs
- DataViewListener.cs
- ParserStreamGeometryContext.cs
- OleDbDataAdapter.cs
- ObjectItemCollection.cs
- _LocalDataStoreMgr.cs
- SynchronizationContext.cs
- SBCSCodePageEncoding.cs
- Section.cs
- Ref.cs
- DetailsViewPageEventArgs.cs
- PropertyIDSet.cs
- ObjectListTitleAttribute.cs
- EventItfInfo.cs
- SymbolMethod.cs
- ToolStripItemClickedEventArgs.cs
- DocumentReference.cs
- SevenBitStream.cs
- TdsParserHelperClasses.cs
- InstanceLockException.cs
- StylusSystemGestureEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- _SSPISessionCache.cs
- LinkedResourceCollection.cs
- DesignerSerializerAttribute.cs
- Propagator.JoinPropagator.cs
- TableLayoutSettingsTypeConverter.cs
- XamlContextStack.cs
- EventMappingSettingsCollection.cs
- ComEventsHelper.cs
- Bits.cs
- ObjectParameter.cs
- DataSvcMapFile.cs
- ShapeTypeface.cs
- SizeAnimationUsingKeyFrames.cs
- MimeTypePropertyAttribute.cs
- wmiutil.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DispatcherSynchronizationContext.cs
- SessionStateContainer.cs
- DefaultValueAttribute.cs
- SByteStorage.cs
- ActiveDesignSurfaceEvent.cs
- InfoCardSymmetricCrypto.cs
- VerificationException.cs
- Menu.cs
- MemberDescriptor.cs
- SeparatorAutomationPeer.cs
- BitmapEncoder.cs
- EnumUnknown.cs
- ThicknessAnimationUsingKeyFrames.cs
- VisualTreeHelper.cs
- _DomainName.cs
- HttpRawResponse.cs
- DriveInfo.cs
- X500Name.cs
- Label.cs
- Parsers.cs
- Application.cs
- NetworkAddressChange.cs
- ExceptionWrapper.cs
- Error.cs
- HtmlTableCellCollection.cs
- Encoder.cs
- StatusBarDrawItemEvent.cs
- TaskHelper.cs
- WebPartAuthorizationEventArgs.cs
- ExtensibleClassFactory.cs
- ShimAsPublicXamlType.cs
- InteropBitmapSource.cs
- Model3DCollection.cs
- LabelAutomationPeer.cs
- RNGCryptoServiceProvider.cs
- Assert.cs
- NativeWindow.cs
- ObsoleteAttribute.cs
- SecurityElement.cs
- OracleSqlParser.cs
- ConditionBrowserDialog.cs
- InputReport.cs
- PackagingUtilities.cs
- _NTAuthentication.cs
- EndpointDispatcher.cs
- RootProfilePropertySettingsCollection.cs
- AssertFilter.cs
- Logging.cs
- TemplateBindingExpression.cs
- OdbcError.cs
- CharEnumerator.cs
- FrameworkElement.cs
- xml.cs
- HandledEventArgs.cs
- WebScriptServiceHostFactory.cs