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
- AccessorTable.cs
- Soap12FormatExtensions.cs
- TranslateTransform3D.cs
- TemplateLookupAction.cs
- AnimationStorage.cs
- Range.cs
- EntityViewGenerationAttribute.cs
- unsafenativemethodstextservices.cs
- ToolStripDropDownButton.cs
- Error.cs
- VirtualizingStackPanel.cs
- FlowDocumentScrollViewer.cs
- FileDialog_Vista.cs
- TreeViewAutomationPeer.cs
- CodeTypeMember.cs
- RoutingEndpointTrait.cs
- TextChange.cs
- DesignTimeType.cs
- Relationship.cs
- recordstatefactory.cs
- smtpconnection.cs
- OleAutBinder.cs
- SerialPinChanges.cs
- RegexNode.cs
- EdmItemCollection.cs
- TraceShell.cs
- IndividualDeviceConfig.cs
- SizeConverter.cs
- IsolatedStoragePermission.cs
- HwndKeyboardInputProvider.cs
- LinqDataSourceInsertEventArgs.cs
- Highlights.cs
- MiniMapControl.xaml.cs
- CompilerLocalReference.cs
- BehaviorEditorPart.cs
- ProfileSettings.cs
- TablePattern.cs
- KnownAssembliesSet.cs
- Line.cs
- UITypeEditor.cs
- SamlAuthorizationDecisionStatement.cs
- URI.cs
- SortedSetDebugView.cs
- WrapPanel.cs
- SqlProfileProvider.cs
- FormsAuthenticationTicket.cs
- BuildProviderCollection.cs
- CodeStatementCollection.cs
- UpdatePanel.cs
- NativeCppClassAttribute.cs
- CustomWebEventKey.cs
- RequestTimeoutManager.cs
- ErrorTableItemStyle.cs
- ObjectListDataBindEventArgs.cs
- OutputCacheSettings.cs
- WmpBitmapDecoder.cs
- FilePresentation.cs
- HwndHostAutomationPeer.cs
- BasicExpandProvider.cs
- AssemblyInfo.cs
- XmlSchemaAnnotation.cs
- DependencyPropertyDescriptor.cs
- Stackframe.cs
- XslAst.cs
- ReadOnlyHierarchicalDataSourceView.cs
- RegexWorker.cs
- IIS7WorkerRequest.cs
- OleDbCommandBuilder.cs
- TargetParameterCountException.cs
- CheckBoxField.cs
- SingleAnimation.cs
- WebPartUtil.cs
- XmlSchemaException.cs
- TreeViewCancelEvent.cs
- SRGSCompiler.cs
- UrlAuthorizationModule.cs
- ReturnType.cs
- ListViewItemSelectionChangedEvent.cs
- EdmValidator.cs
- MexNamedPipeBindingCollectionElement.cs
- ButtonChrome.cs
- XamlWrappingReader.cs
- SQLGuid.cs
- UpDownBase.cs
- SymDocumentType.cs
- StylusCollection.cs
- SchemaCollectionCompiler.cs
- DataMemberConverter.cs
- SizeAnimationClockResource.cs
- SocketElement.cs
- BinaryReader.cs
- CompilerInfo.cs
- ChangePassword.cs
- ElementNotAvailableException.cs
- EntityProviderFactory.cs
- DateTimeUtil.cs
- XmlSortKeyAccumulator.cs
- Empty.cs
- TemplatePropertyEntry.cs
- FormViewDeleteEventArgs.cs