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
- OdbcTransaction.cs
- ConnectionManagementElement.cs
- TreeView.cs
- Renderer.cs
- sqlstateclientmanager.cs
- CodeDOMUtility.cs
- SqlResolver.cs
- SystemEvents.cs
- _SSPISessionCache.cs
- CacheSection.cs
- HttpCookieCollection.cs
- HyperLink.cs
- HttpChannelHelpers.cs
- ExeContext.cs
- PolicyLevel.cs
- RTTypeWrapper.cs
- WebPartConnectionsDisconnectVerb.cs
- XComponentModel.cs
- AutomationPatternInfo.cs
- CompositeDuplexElement.cs
- CancelEventArgs.cs
- GradientBrush.cs
- EncodingFallbackAwareXmlTextWriter.cs
- DBPropSet.cs
- AsymmetricSignatureDeformatter.cs
- Font.cs
- TypeUtils.cs
- ScriptControlDescriptor.cs
- CloseCollectionAsyncResult.cs
- EncoderFallback.cs
- PrincipalPermission.cs
- webproxy.cs
- NegationPusher.cs
- HtmlInputPassword.cs
- AuthenticateEventArgs.cs
- ProviderConnectionPointCollection.cs
- WindowsTitleBar.cs
- AmbiguousMatchException.cs
- ExpandCollapsePattern.cs
- AspNetSynchronizationContext.cs
- SizeF.cs
- DoubleUtil.cs
- GAC.cs
- SendActivity.cs
- MaskPropertyEditor.cs
- CompilerState.cs
- XslVisitor.cs
- DetailsViewPageEventArgs.cs
- RelationshipEnd.cs
- RepeatInfo.cs
- ContainerUIElement3D.cs
- OuterGlowBitmapEffect.cs
- ContainerActivationHelper.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- OutputCacheSettings.cs
- ButtonBaseDesigner.cs
- ToolBarPanel.cs
- _ChunkParse.cs
- DockingAttribute.cs
- BorderSidesEditor.cs
- TextSelectionHighlightLayer.cs
- HGlobalSafeHandle.cs
- HebrewCalendar.cs
- UserNamePasswordServiceCredential.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DescendantQuery.cs
- PointKeyFrameCollection.cs
- OutputCacheProfile.cs
- MasterPageParser.cs
- Binding.cs
- AsyncCompletedEventArgs.cs
- CodeDirectionExpression.cs
- precedingquery.cs
- filewebresponse.cs
- DefaultBindingPropertyAttribute.cs
- VectorValueSerializer.cs
- CellIdBoolean.cs
- ClientClassGenerator.cs
- BindingOperations.cs
- SystemSounds.cs
- GridEntryCollection.cs
- TextPointer.cs
- SymbolTable.cs
- AppLevelCompilationSectionCache.cs
- ProgressBarAutomationPeer.cs
- PrinterResolution.cs
- ExpressionVisitorHelpers.cs
- OwnerDrawPropertyBag.cs
- BindingManagerDataErrorEventArgs.cs
- DirtyTextRange.cs
- GeneratedContractType.cs
- PhysicalFontFamily.cs
- _AutoWebProxyScriptHelper.cs
- ContentDefinition.cs
- MaskedTextBox.cs
- WindowsImpersonationContext.cs
- SettingsAttributeDictionary.cs
- ObjectDataSourceMethodEventArgs.cs
- LoginName.cs
- SizeAnimationBase.cs