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
- dataobject.cs
- ValidationPropertyAttribute.cs
- ClientSponsor.cs
- Point3DAnimationBase.cs
- AttributedMetaModel.cs
- MenuItemStyle.cs
- TimeStampChecker.cs
- AssociatedControlConverter.cs
- ListBoxItemAutomationPeer.cs
- TimerElapsedEvenArgs.cs
- SoapProtocolImporter.cs
- TextLineBreak.cs
- InputProcessorProfiles.cs
- Part.cs
- CqlErrorHelper.cs
- CheckBox.cs
- ActiveXSite.cs
- TrustManagerMoreInformation.cs
- CompleteWizardStep.cs
- TextCompositionManager.cs
- indexingfiltermarshaler.cs
- OracleCommand.cs
- CacheSection.cs
- SystemResourceKey.cs
- OrCondition.cs
- StringUtil.cs
- MembershipAdapter.cs
- PerformanceCounterLib.cs
- XmlMtomReader.cs
- XamlParser.cs
- LocalizedNameDescriptionPair.cs
- InstanceHandleReference.cs
- Aggregates.cs
- EventHandlerList.cs
- AnnotationHighlightLayer.cs
- MetabaseSettings.cs
- VectorConverter.cs
- CustomAttribute.cs
- DataGridViewRowCollection.cs
- FontInfo.cs
- InternalControlCollection.cs
- CodeVariableReferenceExpression.cs
- FormViewPagerRow.cs
- WinFormsSpinner.cs
- ListBoxAutomationPeer.cs
- AssemblyBuilderData.cs
- OrthographicCamera.cs
- XmlConvert.cs
- UnmanagedMemoryAccessor.cs
- AssemblyNameProxy.cs
- safex509handles.cs
- AlphabeticalEnumConverter.cs
- ExpressionBuilder.cs
- Set.cs
- RawStylusInput.cs
- SmiContextFactory.cs
- CatalogPart.cs
- XamlWrapperReaders.cs
- PageThemeParser.cs
- EastAsianLunisolarCalendar.cs
- FixedPosition.cs
- TransportOutputChannel.cs
- MobileUserControl.cs
- EventProvider.cs
- SocketAddress.cs
- SafeMemoryMappedViewHandle.cs
- OleDbCommand.cs
- Crc32.cs
- Operator.cs
- RootNamespaceAttribute.cs
- SimpleMailWebEventProvider.cs
- DrawToolTipEventArgs.cs
- StateItem.cs
- WebDisplayNameAttribute.cs
- StylusPoint.cs
- IndexedGlyphRun.cs
- KnownColorTable.cs
- ThicknessAnimationUsingKeyFrames.cs
- SymbolTable.cs
- CommentEmitter.cs
- EntryWrittenEventArgs.cs
- DependencyProperty.cs
- MenuItem.cs
- GradientSpreadMethodValidation.cs
- ScrollChrome.cs
- Timer.cs
- DefaultValueConverter.cs
- XmlBinaryWriterSession.cs
- PointAnimationClockResource.cs
- InputBinding.cs
- Char.cs
- UnionExpr.cs
- OleDbMetaDataFactory.cs
- DbBuffer.cs
- ClientConfigurationSystem.cs
- PageSetupDialog.cs
- HttpContextBase.cs
- ConfigurationValidatorAttribute.cs
- StorageEntityTypeMapping.cs
- TreeNodeEventArgs.cs