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
- StreamGeometry.cs
- Speller.cs
- ActiveXSite.cs
- SimpleColumnProvider.cs
- PowerModeChangedEventArgs.cs
- ListViewDeleteEventArgs.cs
- RuleRefElement.cs
- EntityViewGenerationAttribute.cs
- CaseInsensitiveComparer.cs
- ServiceOperationListItemList.cs
- SimpleHandlerBuildProvider.cs
- UnsafeNativeMethods.cs
- SiteMapProvider.cs
- KeyboardNavigation.cs
- PointAnimation.cs
- IncrementalReadDecoders.cs
- WpfXamlLoader.cs
- DocumentApplicationDocumentViewer.cs
- mda.cs
- Debug.cs
- WebColorConverter.cs
- UIElement.cs
- MouseGestureValueSerializer.cs
- DataGridViewLinkCell.cs
- SiblingIterators.cs
- DataBinding.cs
- Vector3DIndependentAnimationStorage.cs
- GroupQuery.cs
- StructuredType.cs
- DataAccessor.cs
- UrlAuthorizationModule.cs
- SiteMembershipCondition.cs
- RegexRunnerFactory.cs
- ProfileGroupSettings.cs
- DataSourceXmlClassAttribute.cs
- PrimitiveRenderer.cs
- TextDecorationCollectionConverter.cs
- handlecollector.cs
- MemoryRecordBuffer.cs
- ExpressionQuoter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- EpmContentDeSerializer.cs
- RefreshPropertiesAttribute.cs
- SchemaDeclBase.cs
- MetadataCache.cs
- ArrayWithOffset.cs
- EventWaitHandleSecurity.cs
- NameValuePair.cs
- Literal.cs
- XmlAnyElementAttribute.cs
- XamlClipboardData.cs
- webproxy.cs
- SoapProcessingBehavior.cs
- ObjectStateEntryDbDataRecord.cs
- CustomErrorCollection.cs
- Dump.cs
- TaskFileService.cs
- ReferenceSchema.cs
- SQLInt64.cs
- SQLDecimalStorage.cs
- DWriteFactory.cs
- TypeDelegator.cs
- RTLAwareMessageBox.cs
- ProgressiveCrcCalculatingStream.cs
- AgileSafeNativeMemoryHandle.cs
- XAMLParseException.cs
- IApplicationTrustManager.cs
- RepeaterItemCollection.cs
- StandardCommands.cs
- AttachedPropertyMethodSelector.cs
- LookupNode.cs
- webeventbuffer.cs
- PriorityBindingExpression.cs
- BeginStoryboard.cs
- MetadataAssemblyHelper.cs
- cookie.cs
- _HelperAsyncResults.cs
- WebPartUtil.cs
- TextAnchor.cs
- ZipFileInfo.cs
- ToolStripSplitStackLayout.cs
- KnownColorTable.cs
- TextServicesContext.cs
- DataRecordInternal.cs
- DirectoryRootQuery.cs
- StorageInfo.cs
- FixedDSBuilder.cs
- XmlSchemaAny.cs
- BindingCollection.cs
- AdapterDictionary.cs
- SelectedGridItemChangedEvent.cs
- xdrvalidator.cs
- BigInt.cs
- GB18030Encoding.cs
- AppSecurityManager.cs
- Resources.Designer.cs
- HyperLinkField.cs
- NumberFormatInfo.cs
- BamlCollectionHolder.cs
- AdapterUtil.cs