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
- NamedObject.cs
- OleStrCAMarshaler.cs
- IsolatedStorageException.cs
- OpenTypeLayoutCache.cs
- RSAOAEPKeyExchangeDeformatter.cs
- HwndSubclass.cs
- TextSerializer.cs
- MethodMessage.cs
- XmlDataLoader.cs
- SQLInt16.cs
- AuthenticationService.cs
- ProfileGroupSettings.cs
- RightsManagementEncryptedStream.cs
- Internal.cs
- AssertFilter.cs
- GeneralTransform3D.cs
- ClientScriptManagerWrapper.cs
- ApplicationException.cs
- ReadOnlyObservableCollection.cs
- ProcessInfo.cs
- UriTemplateEquivalenceComparer.cs
- DynamicPropertyReader.cs
- bindurihelper.cs
- BidPrivateBase.cs
- InfoCardTraceRecord.cs
- HandlerBase.cs
- EventProvider.cs
- SqlCommandBuilder.cs
- PhysicalAddress.cs
- _IPv4Address.cs
- Transform3DCollection.cs
- QilGenerator.cs
- DataGridCellItemAutomationPeer.cs
- RoutedUICommand.cs
- MetafileEditor.cs
- CalloutQueueItem.cs
- Main.cs
- TraceListener.cs
- WebPartMinimizeVerb.cs
- WebPartZone.cs
- HttpEncoderUtility.cs
- InkPresenterAutomationPeer.cs
- ListBoxItemAutomationPeer.cs
- cookiecollection.cs
- BasicCellRelation.cs
- BindStream.cs
- DoubleLink.cs
- ObjectView.cs
- GradientStop.cs
- StaticFileHandler.cs
- FixedSOMTableRow.cs
- CfgParser.cs
- _BufferOffsetSize.cs
- XamlTemplateSerializer.cs
- StorageMappingItemLoader.cs
- SmtpNtlmAuthenticationModule.cs
- AssemblyFilter.cs
- ClientSettingsSection.cs
- CurrentChangingEventArgs.cs
- XLinq.cs
- CloudCollection.cs
- SqlOuterApplyReducer.cs
- ObjectStorage.cs
- GridViewCellAutomationPeer.cs
- TimeManager.cs
- FormViewInsertedEventArgs.cs
- WindowsBrush.cs
- ExpressionBuilderContext.cs
- MetadataCollection.cs
- DateRangeEvent.cs
- MexTcpBindingElement.cs
- LazyTextWriterCreator.cs
- SyndicationFeedFormatter.cs
- PerformanceCounterTraceRecord.cs
- LayoutEditorPart.cs
- EdmProviderManifest.cs
- WebPartUtil.cs
- UniqueIdentifierService.cs
- Listbox.cs
- ZipIOExtraFieldElement.cs
- NullableLongSumAggregationOperator.cs
- DodSequenceMerge.cs
- DateTimeParse.cs
- OptionalColumn.cs
- ListItemParagraph.cs
- HtmlInputButton.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ADMembershipUser.cs
- Boolean.cs
- DataGridCommandEventArgs.cs
- MailBnfHelper.cs
- HashCodeCombiner.cs
- XPathPatternBuilder.cs
- PropertyCollection.cs
- UpdatePanelTrigger.cs
- SymLanguageVendor.cs
- RequestQueryProcessor.cs
- ColumnHeader.cs
- SoapReflector.cs
- Inflater.cs