Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / DesignerAdapterAttribute.cs / 1305376 / DesignerAdapterAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.ComponentModel; using System.Security.Permissions; namespace System.Web.UI.MobileControls { /* * DesignerAdapter attribute. Can be attached to a control class to * provide a type reference to the adapter that should be used in the * designer. * * Copyright (c) 2000 Microsoft Corporation */ ///[ AttributeUsage(AttributeTargets.Class, Inherited=true) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] public class DesignerAdapterAttribute : Attribute { private readonly String _typeName; /// public DesignerAdapterAttribute(String adapterTypeName) { _typeName = adapterTypeName; } /// public DesignerAdapterAttribute(Type adapterType) { _typeName = adapterType.AssemblyQualifiedName; } /// public virtual String TypeName { get { return _typeName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.ComponentModel; using System.Security.Permissions; namespace System.Web.UI.MobileControls { /* * DesignerAdapter attribute. Can be attached to a control class to * provide a type reference to the adapter that should be used in the * designer. * * Copyright (c) 2000 Microsoft Corporation */ ///[ AttributeUsage(AttributeTargets.Class, Inherited=true) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] public class DesignerAdapterAttribute : Attribute { private readonly String _typeName; /// public DesignerAdapterAttribute(String adapterTypeName) { _typeName = adapterTypeName; } /// public DesignerAdapterAttribute(Type adapterType) { _typeName = adapterType.AssemblyQualifiedName; } /// public virtual String TypeName { get { return _typeName; } } } } // 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
- DynamicValueConverter.cs
- XmlTextReader.cs
- StorageMappingFragment.cs
- ipaddressinformationcollection.cs
- Label.cs
- Attribute.cs
- SuppressIldasmAttribute.cs
- ApplicationInfo.cs
- ServicesUtilities.cs
- ButtonRenderer.cs
- TextCompositionEventArgs.cs
- PageThemeParser.cs
- SimpleMailWebEventProvider.cs
- ThreadStartException.cs
- VisualStateChangedEventArgs.cs
- DoubleAnimationUsingKeyFrames.cs
- SizeLimitedCache.cs
- WCFModelStrings.Designer.cs
- GridViewRowPresenterBase.cs
- QilPatternVisitor.cs
- TextCharacters.cs
- TextFormatter.cs
- XhtmlConformanceSection.cs
- TableStyle.cs
- PenLineCapValidation.cs
- StreamReader.cs
- pingexception.cs
- MobileCategoryAttribute.cs
- GlyphRunDrawing.cs
- WebResourceAttribute.cs
- SiteMapNodeItemEventArgs.cs
- Vertex.cs
- XmlUtilWriter.cs
- WebHostScriptMappingsInstallComponent.cs
- MultipartContentParser.cs
- Transform3DGroup.cs
- Speller.cs
- MissingFieldException.cs
- ModuleBuilderData.cs
- MappingItemCollection.cs
- MatrixCamera.cs
- AspNetHostingPermission.cs
- StructuredTypeEmitter.cs
- TextPointer.cs
- LinkArea.cs
- UnsafeNativeMethods.cs
- Rectangle.cs
- invalidudtexception.cs
- WebEvents.cs
- TransformPattern.cs
- AttachedPropertyInfo.cs
- Ref.cs
- DesignerOptionService.cs
- _TLSstream.cs
- MailBnfHelper.cs
- MDIWindowDialog.cs
- PageCache.cs
- ColumnMapCopier.cs
- DataKeyArray.cs
- DynamicMetaObject.cs
- RadioButtonBaseAdapter.cs
- DataSpaceManager.cs
- CommentEmitter.cs
- DirtyTextRange.cs
- StreamingContext.cs
- NetTcpSecurity.cs
- GraphicsPathIterator.cs
- ImpersonationContext.cs
- InvalidProgramException.cs
- HttpListenerPrefixCollection.cs
- WebBrowser.cs
- CreateUserWizard.cs
- sqlstateclientmanager.cs
- LinqDataSourceEditData.cs
- ExpressionVisitor.cs
- SqlDependencyUtils.cs
- DataGridViewCellStyleConverter.cs
- ExceptionAggregator.cs
- EntityConnection.cs
- _HeaderInfo.cs
- complextypematerializer.cs
- ParserExtension.cs
- DelegateSerializationHolder.cs
- URLIdentityPermission.cs
- DataGridViewMethods.cs
- RestHandler.cs
- TriggerBase.cs
- FontUnit.cs
- UserPreferenceChangingEventArgs.cs
- MessageDecoder.cs
- EditorPart.cs
- UrlPath.cs
- AddInDeploymentState.cs
- DataGridViewColumn.cs
- SystemKeyConverter.cs
- IMembershipProvider.cs
- RichTextBoxAutomationPeer.cs
- AccessDataSourceView.cs
- DesigntimeLicenseContext.cs
- PrinterResolution.cs