Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlNodeChangedEventArgs.cs
- MenuAdapter.cs
- OdbcConnectionFactory.cs
- ConcatQueryOperator.cs
- DocumentGrid.cs
- SurrogateChar.cs
- CodeGeneratorAttribute.cs
- GenerateHelper.cs
- Command.cs
- Descriptor.cs
- PtsContext.cs
- InspectionWorker.cs
- InternalRelationshipCollection.cs
- KnownIds.cs
- EntityObject.cs
- ADConnectionHelper.cs
- QilFunction.cs
- ConnectionManagementSection.cs
- EDesignUtil.cs
- TextHintingModeValidation.cs
- Int16AnimationUsingKeyFrames.cs
- TypedTableBase.cs
- WindowsTokenRoleProvider.cs
- Rectangle.cs
- Rect3D.cs
- XamlWriter.cs
- AssemblyAttributes.cs
- OleDbTransaction.cs
- UserPersonalizationStateInfo.cs
- ResponseBodyWriter.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataMemberListEditor.cs
- AssemblyCache.cs
- TerminateSequence.cs
- PropertyConverter.cs
- MulticastDelegate.cs
- MenuItem.cs
- AppModelKnownContentFactory.cs
- DrawingCollection.cs
- ContentPresenter.cs
- XXXInfos.cs
- FlagsAttribute.cs
- ObjectListGeneralPage.cs
- DoubleAnimationUsingKeyFrames.cs
- RegistryDataKey.cs
- MachineSettingsSection.cs
- DatatypeImplementation.cs
- CachedBitmap.cs
- BuildProvider.cs
- MailWriter.cs
- validation.cs
- AffineTransform3D.cs
- ResolveMatchesMessage11.cs
- Rect3DValueSerializer.cs
- PrivilegedConfigurationManager.cs
- GenerateScriptTypeAttribute.cs
- x509store.cs
- Util.cs
- StylusEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- DispatcherHookEventArgs.cs
- ContainerUtilities.cs
- DataBoundLiteralControl.cs
- NonParentingControl.cs
- DrawingCollection.cs
- ToolStripRendererSwitcher.cs
- RootBuilder.cs
- FacetDescriptionElement.cs
- UnmanagedMarshal.cs
- Bitmap.cs
- BezierSegment.cs
- EnumValAlphaComparer.cs
- CurrencyWrapper.cs
- BrowserDefinition.cs
- AnimationClockResource.cs
- PageVisual.cs
- SizeKeyFrameCollection.cs
- ListChunk.cs
- SmiEventSink_DeferedProcessing.cs
- SimpleWebHandlerParser.cs
- CompModSwitches.cs
- Image.cs
- ImageListStreamer.cs
- XsltLibrary.cs
- DataSourceControl.cs
- FrameDimension.cs
- SafeLocalMemHandle.cs
- SelectionService.cs
- DeflateStream.cs
- TextDpi.cs
- XamlUtilities.cs
- DesignerSelectionListAdapter.cs
- SimpleApplicationHost.cs
- IndexedGlyphRun.cs
- HistoryEventArgs.cs
- BasePattern.cs
- Nullable.cs
- LicenseManager.cs
- PKCS1MaskGenerationMethod.cs
- NGCSerializationManagerAsync.cs