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
- TemplatePropertyEntry.cs
- StreamGeometry.cs
- WhitespaceRule.cs
- ProfileElement.cs
- InheritanceContextChangedEventManager.cs
- MSAANativeProvider.cs
- HttpContext.cs
- XamlWriter.cs
- BitmapSource.cs
- EdmItemCollection.cs
- DrawingContextWalker.cs
- RegexWorker.cs
- ValuePatternIdentifiers.cs
- FormatConvertedBitmap.cs
- XmlDataSource.cs
- ColorContextHelper.cs
- WorkflowHostingResponseContext.cs
- NativeCppClassAttribute.cs
- MultilineStringConverter.cs
- CssStyleCollection.cs
- TextParentUndoUnit.cs
- DiagnosticTraceSource.cs
- InstanceHandle.cs
- Walker.cs
- XmlSchemaParticle.cs
- SqlGatherProducedAliases.cs
- EventsTab.cs
- PKCS1MaskGenerationMethod.cs
- Visual3D.cs
- TcpConnectionPool.cs
- WebPartUtil.cs
- ValidationEventArgs.cs
- PageAsyncTask.cs
- MultitargetUtil.cs
- ObjectDataSourceFilteringEventArgs.cs
- RefreshPropertiesAttribute.cs
- FamilyMapCollection.cs
- DiffuseMaterial.cs
- WhitespaceRule.cs
- MD5.cs
- DoubleLinkListEnumerator.cs
- WorkflowMarkupSerializationException.cs
- MessageBox.cs
- LabelExpression.cs
- PackagingUtilities.cs
- ForceCopyBuildProvider.cs
- CngProvider.cs
- OleAutBinder.cs
- ThicknessAnimationBase.cs
- TemplateXamlParser.cs
- NullableDoubleAverageAggregationOperator.cs
- PaperSize.cs
- TcpProcessProtocolHandler.cs
- IISMapPath.cs
- LinkTarget.cs
- HttpRequestCacheValidator.cs
- ListenerElementsCollection.cs
- PromptEventArgs.cs
- ExtendedProperty.cs
- Region.cs
- NetSectionGroup.cs
- DecoderNLS.cs
- unitconverter.cs
- UserUseLicenseDictionaryLoader.cs
- ExpressionVisitorHelpers.cs
- TemplateKeyConverter.cs
- StyleTypedPropertyAttribute.cs
- StaticContext.cs
- UIElement3D.cs
- ByteStorage.cs
- WebPartVerb.cs
- sitestring.cs
- PropertySourceInfo.cs
- SkipStoryboardToFill.cs
- IUnknownConstantAttribute.cs
- QueryExpression.cs
- StoreAnnotationsMap.cs
- AsyncPostBackErrorEventArgs.cs
- QilReplaceVisitor.cs
- unitconverter.cs
- WindowsTab.cs
- QueryContinueDragEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- BrowserTree.cs
- ScriptRef.cs
- Parameter.cs
- WindowsSysHeader.cs
- ColumnHeader.cs
- StorageEntityTypeMapping.cs
- ActivityDelegate.cs
- EntityTemplateUserControl.cs
- NumericUpDown.cs
- Exceptions.cs
- xsdvalidator.cs
- LayoutEvent.cs
- COAUTHIDENTITY.cs
- UdpConstants.cs
- EditingScope.cs
- HandledMouseEvent.cs
- ResXResourceReader.cs