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
- ListSourceHelper.cs
- Line.cs
- TypeDelegator.cs
- SqlInternalConnection.cs
- XsdDateTime.cs
- ParamArrayAttribute.cs
- XPathDocumentBuilder.cs
- ExpressionBuilderCollection.cs
- EventPropertyMap.cs
- FunctionMappingTranslator.cs
- SqlStatistics.cs
- InvalidCommandTreeException.cs
- UnmanagedMarshal.cs
- ConfigXmlSignificantWhitespace.cs
- BitmapEffect.cs
- EmptyStringExpandableObjectConverter.cs
- TextRunTypographyProperties.cs
- TypeDelegator.cs
- UMPAttributes.cs
- FormatVersion.cs
- EnumUnknown.cs
- GorillaCodec.cs
- CompleteWizardStep.cs
- ACL.cs
- Speller.cs
- CLSCompliantAttribute.cs
- ScriptManager.cs
- TableLayoutStyle.cs
- OrderedDictionaryStateHelper.cs
- xdrvalidator.cs
- _ConnectOverlappedAsyncResult.cs
- ChunkedMemoryStream.cs
- ColorAnimationBase.cs
- EnumerableRowCollection.cs
- Rotation3DAnimationBase.cs
- RootAction.cs
- ConnectionProviderAttribute.cs
- PagesSection.cs
- AppDomainUnloadedException.cs
- BaseParagraph.cs
- OracleParameter.cs
- EmbeddedObject.cs
- UIntPtr.cs
- DescendantQuery.cs
- Baml2006ReaderFrame.cs
- LinkDescriptor.cs
- Int32Rect.cs
- DataAdapter.cs
- MetafileHeaderWmf.cs
- ProcessModelSection.cs
- SoapEnumAttribute.cs
- SuspendDesigner.cs
- HexParser.cs
- OleDbEnumerator.cs
- UITypeEditors.cs
- DataGridViewCheckBoxCell.cs
- WorkflowFileItem.cs
- ModuleBuilder.cs
- DefaultTypeArgumentAttribute.cs
- UIElementPropertyUndoUnit.cs
- MissingSatelliteAssemblyException.cs
- Identity.cs
- DataListItem.cs
- ScrollProperties.cs
- FormViewUpdatedEventArgs.cs
- GenericsInstances.cs
- SqlDataSourceCache.cs
- ToolStripPanel.cs
- StoryFragments.cs
- AccessedThroughPropertyAttribute.cs
- UrlRoutingHandler.cs
- RegistrationProxy.cs
- TimeSpan.cs
- Light.cs
- DateTimeFormat.cs
- ApplicationTrust.cs
- ContextMenuStrip.cs
- PeerApplication.cs
- AlignmentXValidation.cs
- CqlIdentifiers.cs
- JavaScriptObjectDeserializer.cs
- AdapterDictionary.cs
- DocumentGrid.cs
- CredentialSelector.cs
- MobileControl.cs
- FixedNode.cs
- PauseStoryboard.cs
- IsolatedStorageFilePermission.cs
- AttributeEmitter.cs
- ValueQuery.cs
- CompilationRelaxations.cs
- FacetChecker.cs
- CorrelationService.cs
- OdbcDataAdapter.cs
- COM2EnumConverter.cs
- MembershipSection.cs
- DocumentSequenceHighlightLayer.cs
- LockedHandleGlyph.cs
- Pen.cs
- FixedPosition.cs