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
- TableLayoutCellPaintEventArgs.cs
- ClientSettingsStore.cs
- ComponentManagerBroker.cs
- EditorPart.cs
- ExternalFile.cs
- Size.cs
- Menu.cs
- WindowsRichEdit.cs
- InstanceNormalEvent.cs
- Environment.cs
- OperationBehaviorAttribute.cs
- DiscoveryEndpointElement.cs
- DynamicDocumentPaginator.cs
- InstanceStoreQueryResult.cs
- ShellProvider.cs
- BindingOperations.cs
- LocalValueEnumerator.cs
- DetailsViewCommandEventArgs.cs
- MatrixKeyFrameCollection.cs
- XmlUTF8TextReader.cs
- DataGridrowEditEndingEventArgs.cs
- ITextView.cs
- LicenseContext.cs
- ToolStripContentPanelRenderEventArgs.cs
- SemaphoreFullException.cs
- SqlResolver.cs
- XpsResourceDictionary.cs
- HtmlMeta.cs
- CommandDesigner.cs
- TraceHandler.cs
- DelegatingTypeDescriptionProvider.cs
- ToolStripOverflow.cs
- TransformerInfoCollection.cs
- ConnectionStringsSection.cs
- MetadataSerializer.cs
- ExtendedTransformFactory.cs
- infer.cs
- TCEAdapterGenerator.cs
- DataServiceRequestException.cs
- OleDbParameterCollection.cs
- ComponentResourceKeyConverter.cs
- DbExpressionVisitor.cs
- DataGrid.cs
- InputBinder.cs
- DirectionalLight.cs
- WebResponse.cs
- SymLanguageVendor.cs
- ByeOperation11AsyncResult.cs
- Msec.cs
- AlternateView.cs
- HttpRawResponse.cs
- ModelItemCollection.cs
- DataDocumentXPathNavigator.cs
- WebPermission.cs
- EventLogPermission.cs
- BooleanAnimationUsingKeyFrames.cs
- keycontainerpermission.cs
- SqlDeflator.cs
- AdditionalEntityFunctions.cs
- shaperfactory.cs
- ColorAnimation.cs
- BitmapEffectGeneralTransform.cs
- Animatable.cs
- RenderData.cs
- PublishLicense.cs
- SmtpLoginAuthenticationModule.cs
- OrderedEnumerableRowCollection.cs
- URLMembershipCondition.cs
- mda.cs
- Model3DCollection.cs
- WeakReference.cs
- XmlMtomReader.cs
- TextCompositionEventArgs.cs
- BufferedStream.cs
- namescope.cs
- TypedTableBaseExtensions.cs
- SrgsNameValueTag.cs
- CryptoStream.cs
- TextProviderWrapper.cs
- _SSPIWrapper.cs
- bidPrivateBase.cs
- DataServiceHost.cs
- Scheduler.cs
- BufferModeSettings.cs
- AlphaSortedEnumConverter.cs
- ClonableStack.cs
- HtmlElementErrorEventArgs.cs
- CustomErrorCollection.cs
- IIS7WorkerRequest.cs
- WindowsListBox.cs
- HtmlTableRowCollection.cs
- RemotingException.cs
- ImageSourceValueSerializer.cs
- RowUpdatingEventArgs.cs
- TableTextElementCollectionInternal.cs
- sortedlist.cs
- TableDetailsCollection.cs
- ExpressionBuilderCollection.cs
- RequestQueue.cs
- Baml6Assembly.cs