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
- DateTime.cs
- SelectorItemAutomationPeer.cs
- HttpEncoder.cs
- ToolStripGrip.cs
- HttpsChannelListener.cs
- DataGridViewCellMouseEventArgs.cs
- storepermission.cs
- HttpDigestClientCredential.cs
- PermissionAttributes.cs
- Action.cs
- ConfigurationStrings.cs
- XMLUtil.cs
- CryptographicAttribute.cs
- PropertyItemInternal.cs
- BufferAllocator.cs
- RSAOAEPKeyExchangeFormatter.cs
- _ListenerResponseStream.cs
- TypeSemantics.cs
- FixedLineResult.cs
- FilterUserControlBase.cs
- OraclePermission.cs
- NavigatorInput.cs
- selecteditemcollection.cs
- HandlerMappingMemo.cs
- OracleParameterCollection.cs
- ProtocolException.cs
- UTF7Encoding.cs
- CriticalFinalizerObject.cs
- DateTimeFormatInfoScanner.cs
- EditorPart.cs
- Missing.cs
- ComAdminWrapper.cs
- DynamicPropertyHolder.cs
- ClientSettingsProvider.cs
- MinMaxParagraphWidth.cs
- GenerateScriptTypeAttribute.cs
- PageOutputColor.cs
- InstanceHandle.cs
- TableLayoutPanel.cs
- CmsInterop.cs
- DayRenderEvent.cs
- HttpVersion.cs
- ParentQuery.cs
- StringConverter.cs
- Misc.cs
- ToolboxComponentsCreatingEventArgs.cs
- OleDbStruct.cs
- Lasso.cs
- LinqDataView.cs
- EnumUnknown.cs
- EntityCodeGenerator.cs
- Location.cs
- TextParaLineResult.cs
- TransformGroup.cs
- ResourcesGenerator.cs
- BindingListCollectionView.cs
- RealProxy.cs
- ChannelManager.cs
- DataGridViewToolTip.cs
- HttpHandlersSection.cs
- JsonReader.cs
- AutomationAttributeInfo.cs
- XMLSchema.cs
- QueryStringParameter.cs
- XmlAutoDetectWriter.cs
- VirtualPathExtension.cs
- CqlWriter.cs
- WinEventWrap.cs
- DataRelation.cs
- TextMetrics.cs
- EventSinkHelperWriter.cs
- XamlWriter.cs
- ProfileManager.cs
- DataMisalignedException.cs
- RelationalExpressions.cs
- _LazyAsyncResult.cs
- sqlcontext.cs
- CombinedGeometry.cs
- CriticalExceptions.cs
- mediapermission.cs
- EncoderParameters.cs
- ContentElementAutomationPeer.cs
- QEncodedStream.cs
- CodeStatement.cs
- MenuStrip.cs
- EventTrigger.cs
- GridViewRowPresenter.cs
- AssemblyInfo.cs
- AnonymousIdentificationSection.cs
- RegexCompiler.cs
- ConfigurationErrorsException.cs
- TargetControlTypeCache.cs
- NumericExpr.cs
- StaticSiteMapProvider.cs
- oledbmetadatacollectionnames.cs
- contentDescriptor.cs
- ServicePerformanceCounters.cs
- IIS7WorkerRequest.cs
- PreProcessor.cs
- SimpleWorkerRequest.cs