Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / Script / Services / GenerateScriptTypeAttribute.cs / 1 / GenerateScriptTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Services { using System; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true) ] public sealed class GenerateScriptTypeAttribute : Attribute { // Constructors public GenerateScriptTypeAttribute(Type type) { if (type == null) { throw new ArgumentNullException("type"); } _type = type; } // Instance Properties private Type _type; public Type Type { get { return _type; } } private string _typeId; public string ScriptTypeId { get { return _typeId ?? String.Empty; } set { _typeId = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewColumn.cs
- ListViewGroupItemCollection.cs
- CodeObject.cs
- BasicExpressionVisitor.cs
- TcpConnectionPool.cs
- WebPartUtil.cs
- CorrelationToken.cs
- IgnoreDataMemberAttribute.cs
- LicenseException.cs
- FormsAuthenticationEventArgs.cs
- MachinePropertyVariants.cs
- InputMethodStateTypeInfo.cs
- CompositeActivityTypeDescriptor.cs
- SimpleHandlerFactory.cs
- DataGridrowEditEndingEventArgs.cs
- Publisher.cs
- CalendarDesigner.cs
- Message.cs
- AppDomainGrammarProxy.cs
- Encoder.cs
- OpenFileDialog.cs
- AttributeEmitter.cs
- PlainXmlSerializer.cs
- WebPartMinimizeVerb.cs
- StickyNoteContentControl.cs
- TimelineGroup.cs
- DBNull.cs
- MemoryMappedViewAccessor.cs
- SiteMapSection.cs
- CancelRequestedQuery.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- HGlobalSafeHandle.cs
- SettingsBindableAttribute.cs
- OSFeature.cs
- DebugController.cs
- MessagePartSpecification.cs
- DetailsViewDeletedEventArgs.cs
- OutputWindow.cs
- WebPartCatalogAddVerb.cs
- X509Certificate.cs
- Point.cs
- FormsAuthenticationUserCollection.cs
- ThicknessAnimationBase.cs
- SqlOuterApplyReducer.cs
- HijriCalendar.cs
- TextureBrush.cs
- ActiveXHelper.cs
- BaseDataBoundControl.cs
- DependencyPropertyDescriptor.cs
- _NestedMultipleAsyncResult.cs
- XXXOnTypeBuilderInstantiation.cs
- PrinterUnitConvert.cs
- XPathBuilder.cs
- PolyQuadraticBezierSegment.cs
- UpdateException.cs
- ExpressionNode.cs
- SafeViewOfFileHandle.cs
- DesignTimeVisibleAttribute.cs
- NoPersistHandle.cs
- ImagingCache.cs
- ToolboxItemCollection.cs
- AuthenticationModulesSection.cs
- ZoneMembershipCondition.cs
- HwndHostAutomationPeer.cs
- DynamicMethod.cs
- ComboBoxAutomationPeer.cs
- Transform.cs
- DataKeyCollection.cs
- SystemColorTracker.cs
- WriteTimeStream.cs
- UnauthorizedAccessException.cs
- ClientOptions.cs
- CodeDOMProvider.cs
- CodeSubDirectory.cs
- ListControlBoundActionList.cs
- DataGridViewRowPostPaintEventArgs.cs
- RecordsAffectedEventArgs.cs
- SqlHelper.cs
- DateTime.cs
- FontStyles.cs
- OutputCacheSection.cs
- FusionWrap.cs
- ExpanderAutomationPeer.cs
- MessageLogger.cs
- AppSecurityManager.cs
- MouseBinding.cs
- ScriptReferenceBase.cs
- SimpleNameService.cs
- Internal.cs
- ConfigXmlCDataSection.cs
- PtsCache.cs
- DynamicContractTypeBuilder.cs
- AccessedThroughPropertyAttribute.cs
- TextRunProperties.cs
- ConsumerConnectionPoint.cs
- XmlSerializerAssemblyAttribute.cs
- SafeThemeHandle.cs
- WindowsListView.cs
- Stopwatch.cs
- SerializationFieldInfo.cs