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
- ConnectionOrientedTransportManager.cs
- CodeDomDesignerLoader.cs
- EditorZoneBase.cs
- PropertyTabAttribute.cs
- SettingsPropertyValueCollection.cs
- CatalogPart.cs
- GeneralTransform3DGroup.cs
- VectorValueSerializer.cs
- ADMembershipProvider.cs
- Exceptions.cs
- XmlNodeComparer.cs
- ToolBarButtonClickEvent.cs
- ItemChangedEventArgs.cs
- ForwardPositionQuery.cs
- TypeBrowserDialog.cs
- SqlUserDefinedAggregateAttribute.cs
- ValidationHelpers.cs
- SqlCacheDependency.cs
- FileUtil.cs
- SmtpMail.cs
- ListSortDescriptionCollection.cs
- PackageDigitalSignature.cs
- TypefaceMap.cs
- MultilineStringConverter.cs
- IntMinMaxAggregationOperator.cs
- Math.cs
- CompressionTransform.cs
- EDesignUtil.cs
- elementinformation.cs
- BoundColumn.cs
- TreeWalker.cs
- LinqDataSource.cs
- EmbossBitmapEffect.cs
- DataGridViewComboBoxCell.cs
- EntityClassGenerator.cs
- UnsafeNativeMethods.cs
- ContentDisposition.cs
- documentation.cs
- IxmlLineInfo.cs
- TableColumn.cs
- TableColumnCollection.cs
- Conditional.cs
- BindingList.cs
- LambdaCompiler.Binary.cs
- CodeDelegateCreateExpression.cs
- CLRBindingWorker.cs
- Variable.cs
- IdentityElement.cs
- EncryptRequest.cs
- ExceptionUtil.cs
- AppDomainManager.cs
- BufferedWebEventProvider.cs
- ConfigXmlElement.cs
- WindowPattern.cs
- GPRECT.cs
- DiscoveryServerProtocol.cs
- ObjectQueryExecutionPlan.cs
- ConnectionProviderAttribute.cs
- DataSvcMapFileSerializer.cs
- AggregateNode.cs
- FileDialog.cs
- EventLogEntry.cs
- DecoderExceptionFallback.cs
- SqlDataSource.cs
- DynamicDataResources.Designer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DbCommandTree.cs
- DataGridViewColumnCollection.cs
- SiteOfOriginContainer.cs
- Inflater.cs
- PagedDataSource.cs
- MenuItem.cs
- QuaternionAnimationBase.cs
- ControlDesigner.cs
- SmiEventSink_DeferedProcessing.cs
- ComponentCommands.cs
- XPathParser.cs
- Utils.cs
- ProfessionalColorTable.cs
- COM2Enum.cs
- MULTI_QI.cs
- MasterPageBuildProvider.cs
- StorageMappingItemLoader.cs
- AuthorizationRuleCollection.cs
- VBIdentifierTrimConverter.cs
- ServiceReference.cs
- XmlSchemaDatatype.cs
- WarningException.cs
- XmlAttributeCollection.cs
- Win32.cs
- Activity.cs
- RegexTree.cs
- ComboBoxAutomationPeer.cs
- validationstate.cs
- LogSwitch.cs
- DbConnectionPoolGroupProviderInfo.cs
- ParallelTimeline.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- MyContact.cs
- TdsRecordBufferSetter.cs