Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Animatable.cs
- EnumerableCollectionView.cs
- basevalidator.cs
- SqlCacheDependencyDatabaseCollection.cs
- RecordsAffectedEventArgs.cs
- Stream.cs
- MembershipValidatePasswordEventArgs.cs
- XmlSchemaObject.cs
- RouteItem.cs
- SqlFacetAttribute.cs
- ReflectionServiceProvider.cs
- MappingMetadataHelper.cs
- DiagnosticTraceRecords.cs
- CompareInfo.cs
- ConstrainedDataObject.cs
- XmlNodeWriter.cs
- FileIOPermission.cs
- KeyInfo.cs
- ScrollChrome.cs
- TextContainerChangedEventArgs.cs
- HelpProvider.cs
- UInt32Storage.cs
- TextBox.cs
- ContentValidator.cs
- SiteIdentityPermission.cs
- DataControlField.cs
- TypeExtensions.cs
- RemotingAttributes.cs
- DeferredElementTreeState.cs
- RichListBox.cs
- ViewKeyConstraint.cs
- SqlClientMetaDataCollectionNames.cs
- TextFormatter.cs
- codemethodreferenceexpression.cs
- XmlWriterTraceListener.cs
- DataGridViewRowPostPaintEventArgs.cs
- Expression.DebuggerProxy.cs
- AdornerLayer.cs
- MsmqActivation.cs
- ActivityExecutor.cs
- ResponseStream.cs
- Matrix3DStack.cs
- TableLayoutSettingsTypeConverter.cs
- CryptoConfig.cs
- Label.cs
- IdentityReference.cs
- EventListenerClientSide.cs
- TextSearch.cs
- InvalidateEvent.cs
- DesignerDataStoredProcedure.cs
- SyntaxCheck.cs
- SoapElementAttribute.cs
- ActivityExecutionContext.cs
- LassoSelectionBehavior.cs
- QuaternionRotation3D.cs
- CodeMemberField.cs
- TrackPoint.cs
- control.ime.cs
- Int32AnimationUsingKeyFrames.cs
- DataGridViewColumnConverter.cs
- SettingsProperty.cs
- ToolboxItem.cs
- IDispatchConstantAttribute.cs
- XmlParserContext.cs
- PassportAuthenticationModule.cs
- ImageClickEventArgs.cs
- PopOutPanel.cs
- TransformPatternIdentifiers.cs
- VectorCollectionValueSerializer.cs
- AssemblyInfo.cs
- ProcessManager.cs
- AtlasWeb.Designer.cs
- LocatorManager.cs
- ClrProviderManifest.cs
- CustomTypeDescriptor.cs
- DummyDataSource.cs
- InternalRelationshipCollection.cs
- TabControlCancelEvent.cs
- XmlAttribute.cs
- counter.cs
- JsonGlobals.cs
- PeerCollaboration.cs
- InvokeBinder.cs
- ListViewEditEventArgs.cs
- ContainerFilterService.cs
- TagMapInfo.cs
- TypedAsyncResult.cs
- MissingMemberException.cs
- TextLine.cs
- InvalidCommandTreeException.cs
- CodeVariableReferenceExpression.cs
- DocumentOrderComparer.cs
- MetadataElement.cs
- ToolStripDropDownButton.cs
- CodeNamespace.cs
- Span.cs
- AdornerLayer.cs
- NotCondition.cs
- TreeWalker.cs
- DnsEndPoint.cs