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
- BrushConverter.cs
- EncoderBestFitFallback.cs
- SetStoryboardSpeedRatio.cs
- ListParaClient.cs
- ApplicationException.cs
- IODescriptionAttribute.cs
- TextParaLineResult.cs
- Int16AnimationUsingKeyFrames.cs
- DeferredRunTextReference.cs
- ModelItemDictionaryImpl.cs
- sqlpipe.cs
- CrossAppDomainChannel.cs
- DataSet.cs
- XmlSchemaException.cs
- GridViewCellAutomationPeer.cs
- StringValueSerializer.cs
- BrowserCapabilitiesFactory.cs
- FileEnumerator.cs
- ContentValidator.cs
- ValueTable.cs
- PageCache.cs
- SiteMapHierarchicalDataSourceView.cs
- _LazyAsyncResult.cs
- FileLogRecordEnumerator.cs
- UserPersonalizationStateInfo.cs
- AuthenticateEventArgs.cs
- StopStoryboard.cs
- SqlDataSourceCommandEventArgs.cs
- Stack.cs
- DocumentPageView.cs
- ReaderContextStackData.cs
- ProcessModule.cs
- Compiler.cs
- TextContainerHelper.cs
- SizeAnimationUsingKeyFrames.cs
- WebBrowserUriTypeConverter.cs
- DesignerCategoryAttribute.cs
- Propagator.ExtentPlaceholderCreator.cs
- X509Utils.cs
- designeractionbehavior.cs
- DataTemplate.cs
- itemelement.cs
- NameValueConfigurationElement.cs
- MetadataUtil.cs
- BackStopAuthenticationModule.cs
- CmsInterop.cs
- ListItemCollection.cs
- ExportException.cs
- MailDefinition.cs
- ProxyAssemblyNotLoadedException.cs
- CodeTypeParameter.cs
- TextBoxRenderer.cs
- ObjectAnimationBase.cs
- XmlCodeExporter.cs
- Panel.cs
- DoubleStorage.cs
- XmlArrayAttribute.cs
- ToggleButtonAutomationPeer.cs
- XmlSerializableWriter.cs
- XPathQueryGenerator.cs
- FormView.cs
- HTMLTagNameToTypeMapper.cs
- DocumentApplication.cs
- CodeTryCatchFinallyStatement.cs
- MessagePropertyDescriptionCollection.cs
- Ray3DHitTestResult.cs
- WebPartsPersonalizationAuthorization.cs
- ReaderWriterLockSlim.cs
- WindowClosedEventArgs.cs
- XmlPropertyBag.cs
- BatchServiceHost.cs
- DesignTimeParseData.cs
- WorkflowDebuggerSteppingAttribute.cs
- WindowsClientElement.cs
- _Connection.cs
- AccessDataSourceDesigner.cs
- AsymmetricAlgorithm.cs
- QueryExecutionOption.cs
- OperandQuery.cs
- ProcessManager.cs
- LoginStatusDesigner.cs
- CollectionViewGroup.cs
- ProcessStartInfo.cs
- DataGridViewColumnConverter.cs
- IDictionary.cs
- DataGridRelationshipRow.cs
- ModuleBuilderData.cs
- PropagatorResult.cs
- Timer.cs
- XmlDataDocument.cs
- MenuItem.cs
- ActivationService.cs
- LOSFormatter.cs
- CalendarButtonAutomationPeer.cs
- SamlDelegatingWriter.cs
- Activator.cs
- SiteMap.cs
- StorageComplexPropertyMapping.cs
- TraceSection.cs
- DataGridViewCellStateChangedEventArgs.cs