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
- StylusPlugInCollection.cs
- AutomationAttributeInfo.cs
- OdbcDataReader.cs
- ExpressionNormalizer.cs
- DerivedKeySecurityTokenStub.cs
- GeneralTransformCollection.cs
- ImageFormatConverter.cs
- WorkflowOperationContext.cs
- ToolStripSeparator.cs
- DefaultTextStoreTextComposition.cs
- BamlMapTable.cs
- ChtmlImageAdapter.cs
- DbCommandTree.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DataGridViewSortCompareEventArgs.cs
- ImageListStreamer.cs
- DataGrid.cs
- Int32Storage.cs
- HttpHeaderCollection.cs
- DiagnosticTraceRecords.cs
- AspCompat.cs
- Padding.cs
- HtmlInputButton.cs
- ContentPosition.cs
- SHA256Managed.cs
- ListBindingConverter.cs
- QueryPageSettingsEventArgs.cs
- Substitution.cs
- ToolTipAutomationPeer.cs
- DataGridLinkButton.cs
- DataSourceGeneratorException.cs
- AsymmetricSignatureFormatter.cs
- ContourSegment.cs
- XAMLParseException.cs
- CodeComment.cs
- CodeTypeReferenceCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- OutputCacheProfileCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- FrugalList.cs
- FocusChangedEventArgs.cs
- BitmapSizeOptions.cs
- ExtensionDataObject.cs
- NativeMethods.cs
- GridEntryCollection.cs
- MasterPageBuildProvider.cs
- baseaxisquery.cs
- MsmqMessageProperty.cs
- CustomCredentialPolicy.cs
- InputElement.cs
- HttpEncoderUtility.cs
- LineServices.cs
- DataSourceConverter.cs
- FeedUtils.cs
- RSAPKCS1SignatureDeformatter.cs
- SchemaHelper.cs
- ResponseStream.cs
- CommandHelpers.cs
- ThreadPool.cs
- MsmqAppDomainProtocolHandler.cs
- OleDbConnectionInternal.cs
- JumpList.cs
- HttpProxyCredentialType.cs
- ListViewDataItem.cs
- log.cs
- SqlPersonalizationProvider.cs
- __Error.cs
- MemberDescriptor.cs
- ObjectViewEntityCollectionData.cs
- InkCanvasSelection.cs
- GridViewSortEventArgs.cs
- Cursors.cs
- SQLSingle.cs
- LinkArea.cs
- XmlSchemaException.cs
- SessionSwitchEventArgs.cs
- ContractReference.cs
- ExtensionDataReader.cs
- CodeCommentStatementCollection.cs
- ReadOnlyNameValueCollection.cs
- ResourcePart.cs
- LinqDataSourceDeleteEventArgs.cs
- TypefaceCollection.cs
- Translator.cs
- StopStoryboard.cs
- EncoderNLS.cs
- ToolStripDropTargetManager.cs
- WeakEventManager.cs
- MenuItem.cs
- PointCollectionConverter.cs
- AppSecurityManager.cs
- ImageListDesigner.cs
- WebInvokeAttribute.cs
- LambdaCompiler.Statements.cs
- PrintPreviewControl.cs
- LocalizedNameDescriptionPair.cs
- TableDetailsRow.cs
- WebReferenceOptions.cs
- ContractInstanceProvider.cs
- COM2PropertyPageUITypeConverter.cs