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
- OuterGlowBitmapEffect.cs
- FilterableAttribute.cs
- XPathDescendantIterator.cs
- XmlWrappingReader.cs
- ForeignKeyConstraint.cs
- XPathScanner.cs
- LogicalTreeHelper.cs
- DispatcherOperation.cs
- SqlConnectionManager.cs
- ConsumerConnectionPoint.cs
- AngleUtil.cs
- MouseButtonEventArgs.cs
- FontSource.cs
- KnownColorTable.cs
- ConfigurationStrings.cs
- SQLDecimal.cs
- Html32TextWriter.cs
- CorrelationService.cs
- ToolStripDropTargetManager.cs
- DataView.cs
- WmfPlaceableFileHeader.cs
- MonthCalendar.cs
- WSSecurityPolicy.cs
- PipelineModuleStepContainer.cs
- UserControlParser.cs
- GeometryConverter.cs
- SqlFlattener.cs
- DataGridViewLinkColumn.cs
- NTAccount.cs
- SmtpDateTime.cs
- InternalsVisibleToAttribute.cs
- LeaseManager.cs
- _NestedMultipleAsyncResult.cs
- DataTableTypeConverter.cs
- Tokenizer.cs
- GeneratedCodeAttribute.cs
- InternalsVisibleToAttribute.cs
- SQLBytesStorage.cs
- ServiceObjectContainer.cs
- QueryCacheKey.cs
- GeneratedView.cs
- WeakReference.cs
- NTAccount.cs
- FixedSOMTableCell.cs
- BaseParser.cs
- CacheDependency.cs
- EastAsianLunisolarCalendar.cs
- ConnectionAcceptor.cs
- ProvideValueServiceProvider.cs
- JsonDeserializer.cs
- FileUtil.cs
- RemoteWebConfigurationHostServer.cs
- WebPartConnectionsCloseVerb.cs
- ToolStrip.cs
- ScrollBarRenderer.cs
- IdnMapping.cs
- ImageListDesigner.cs
- Compiler.cs
- InternalBufferOverflowException.cs
- TextServicesProperty.cs
- WindowsPrincipal.cs
- SQLMoneyStorage.cs
- UserPreferenceChangedEventArgs.cs
- ButtonColumn.cs
- IntPtr.cs
- DynamicFilterExpression.cs
- WinEventWrap.cs
- StrongNameIdentityPermission.cs
- FixedPage.cs
- SqlFunctionAttribute.cs
- TrimSurroundingWhitespaceAttribute.cs
- EditBehavior.cs
- OptimisticConcurrencyException.cs
- EntityProxyTypeInfo.cs
- AutomationPatternInfo.cs
- CellRelation.cs
- HiddenField.cs
- Win32KeyboardDevice.cs
- ProcessThreadCollection.cs
- Base64Decoder.cs
- AffineTransform3D.cs
- BasicViewGenerator.cs
- DBSchemaTable.cs
- EventsTab.cs
- CharacterMetrics.cs
- Tag.cs
- UnlockCardRequest.cs
- AdRotator.cs
- HttpConfigurationContext.cs
- Token.cs
- ResourceBinder.cs
- SqlParameterCollection.cs
- DataGridRow.cs
- Metafile.cs
- AutomationProperties.cs
- ITreeGenerator.cs
- linebase.cs
- NumericExpr.cs
- SessionStateModule.cs
- LocatorPart.cs