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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SimpleBitVector32.cs
- ToolboxItem.cs
- XmlComplianceUtil.cs
- ScriptMethodAttribute.cs
- FacetValues.cs
- NullRuntimeConfig.cs
- SqlPersonalizationProvider.cs
- SatelliteContractVersionAttribute.cs
- CreateUserWizardStep.cs
- SimpleWebHandlerParser.cs
- ResourceReferenceExpression.cs
- FormsAuthenticationConfiguration.cs
- DBSchemaRow.cs
- Hex.cs
- CodeTypeMemberCollection.cs
- FormViewRow.cs
- NamespaceList.cs
- FeatureAttribute.cs
- FilterEventArgs.cs
- ClonableStack.cs
- LambdaCompiler.Generated.cs
- DeploymentExceptionMapper.cs
- HMACSHA384.cs
- DesignerListAdapter.cs
- BindingExpressionBase.cs
- NumericUpDownAcceleration.cs
- LinkTarget.cs
- WebContext.cs
- NumericExpr.cs
- IxmlLineInfo.cs
- CellPartitioner.cs
- TypePropertyEditor.cs
- FusionWrap.cs
- ActiveDocumentEvent.cs
- SignatureToken.cs
- CompositeCollection.cs
- SecurityContextTokenValidationException.cs
- CompressedStack.cs
- TemplateManager.cs
- FileDataSourceCache.cs
- ProviderException.cs
- StickyNoteContentControl.cs
- XamlTreeBuilderBamlRecordWriter.cs
- MetafileHeader.cs
- AccessorTable.cs
- DbParameterCollection.cs
- CodeTypeDeclarationCollection.cs
- DocumentPaginator.cs
- ColumnPropertiesGroup.cs
- UriSection.cs
- HelpEvent.cs
- TableLayoutRowStyleCollection.cs
- EventsTab.cs
- ThreadExceptionDialog.cs
- LazyInitializer.cs
- DataGridRow.cs
- AddressUtility.cs
- WebPartCollection.cs
- codemethodreferenceexpression.cs
- Char.cs
- HttpResponseInternalBase.cs
- ScriptingAuthenticationServiceSection.cs
- AddInStore.cs
- MemberPath.cs
- TagPrefixAttribute.cs
- ScriptServiceAttribute.cs
- LinqDataSourceUpdateEventArgs.cs
- HttpHandlerActionCollection.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- FunctionUpdateCommand.cs
- RegexNode.cs
- Win32PrintDialog.cs
- CheckedPointers.cs
- SplayTreeNode.cs
- HtmlButton.cs
- ClientSettingsStore.cs
- FloatUtil.cs
- QilCloneVisitor.cs
- EditingMode.cs
- LinkLabelLinkClickedEvent.cs
- CachedPathData.cs
- EndpointDispatcher.cs
- RecipientInfo.cs
- WebServiceTypeData.cs
- AssemblyHelper.cs
- KeyFrames.cs
- XmlArrayItemAttribute.cs
- figurelength.cs
- MediaElement.cs
- StorageEntityTypeMapping.cs
- SizeAnimationClockResource.cs
- MenuItemCollection.cs
- MediaSystem.cs
- PointHitTestResult.cs
- CategoryGridEntry.cs
- SvcMapFileSerializer.cs
- adornercollection.cs
- DesignerExtenders.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- HttpListenerRequestUriBuilder.cs