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
- ObjectParameter.cs
- SchemaType.cs
- NumericUpDown.cs
- ProcessThreadCollection.cs
- MachineSettingsSection.cs
- shaper.cs
- GroupDescription.cs
- PermissionSetTriple.cs
- FaultDesigner.cs
- TransactionsSectionGroup.cs
- DesignerHelpers.cs
- GeneralTransform3D.cs
- WebHostedComPlusServiceHost.cs
- ViewBox.cs
- ImageList.cs
- ItemCheckedEvent.cs
- AssociationTypeEmitter.cs
- HealthMonitoringSectionHelper.cs
- ConvertersCollection.cs
- RuleConditionDialog.Designer.cs
- IdentityModelStringsVersion1.cs
- DataGridViewSelectedRowCollection.cs
- CSharpCodeProvider.cs
- MobileControlDesigner.cs
- UniformGrid.cs
- FileFormatException.cs
- ListBoxItem.cs
- UnitControl.cs
- XmlIterators.cs
- RestHandler.cs
- DataViewManager.cs
- InArgument.cs
- WebPartTransformerAttribute.cs
- DashStyle.cs
- MemberExpression.cs
- DesignerGeometryHelper.cs
- ObjectQuery_EntitySqlExtensions.cs
- AccessibleObject.cs
- SingleQueryOperator.cs
- OracleConnectionString.cs
- TemplateBindingExpression.cs
- remotingproxy.cs
- ExpandoClass.cs
- TextEditorMouse.cs
- QuestionEventArgs.cs
- KnownBoxes.cs
- TypeLibConverter.cs
- CapabilitiesAssignment.cs
- EntityKey.cs
- TextComposition.cs
- PolicyManager.cs
- UserPersonalizationStateInfo.cs
- TreeViewImageIndexConverter.cs
- IntSecurity.cs
- TimersDescriptionAttribute.cs
- NativeMethods.cs
- GridPatternIdentifiers.cs
- ToolStripButton.cs
- Int16AnimationUsingKeyFrames.cs
- URLIdentityPermission.cs
- InputLanguageProfileNotifySink.cs
- ConfigsHelper.cs
- XmlHierarchyData.cs
- ByValueEqualityComparer.cs
- OrderedDictionaryStateHelper.cs
- MustUnderstandBehavior.cs
- ModelVisual3D.cs
- SmtpException.cs
- DesignerValidatorAdapter.cs
- SafeThemeHandle.cs
- TdsParserSessionPool.cs
- DataGridTextBoxColumn.cs
- GestureRecognizer.cs
- CheckBoxBaseAdapter.cs
- AnnotationAuthorChangedEventArgs.cs
- WindowsFormsSectionHandler.cs
- TaskDesigner.cs
- BitmapData.cs
- DynamicMethod.cs
- OdbcInfoMessageEvent.cs
- ElementProxy.cs
- BaseDataList.cs
- GuidelineSet.cs
- ListControlDataBindingHandler.cs
- CompilerState.cs
- SqlReferenceCollection.cs
- LoopExpression.cs
- BamlRecordHelper.cs
- ObjectHandle.cs
- PrivilegedConfigurationManager.cs
- WebUtil.cs
- InvokeHandlers.cs
- XmlParserContext.cs
- PolicyLevel.cs
- BCLDebug.cs
- Hex.cs
- EncoderReplacementFallback.cs
- PassportAuthentication.cs
- CommandConverter.cs
- ClientConfigurationHost.cs