Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Script / Services / GenerateScriptTypeAttribute.cs / 1305376 / GenerateScriptTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Services { using System; using System.Diagnostics.CodeAnalysis; using System.Web; [ 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; [SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Justification = "Distinguishable from Object.GetType()")] 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfileModule.cs
- _OSSOCK.cs
- SpotLight.cs
- Button.cs
- CodeIdentifiers.cs
- MemoryFailPoint.cs
- AnnotationMap.cs
- HandledEventArgs.cs
- CompiledQueryCacheKey.cs
- EventEntry.cs
- SynchronizingStream.cs
- BindingContext.cs
- HtmlProps.cs
- DataContractJsonSerializer.cs
- transactioncontext.cs
- DataGridColumnCollection.cs
- EntityDataSourceSelectingEventArgs.cs
- ColorContextHelper.cs
- HtmlTextArea.cs
- BinaryParser.cs
- DesignerActionMethodItem.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Properties.cs
- XmlSchemaException.cs
- FixedSOMPage.cs
- ValueTypeFixupInfo.cs
- ValidateNames.cs
- SizeConverter.cs
- StylusOverProperty.cs
- MD5.cs
- MethodCallTranslator.cs
- BitHelper.cs
- TrustSection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TemplateField.cs
- ToolStripItem.cs
- RegexWriter.cs
- Convert.cs
- ObjectIDGenerator.cs
- RecordManager.cs
- InputMethodStateTypeInfo.cs
- translator.cs
- Stylesheet.cs
- SafeLibraryHandle.cs
- MaterialCollection.cs
- TileModeValidation.cs
- FlowDocument.cs
- ResolvePPIDRequest.cs
- WebServiceParameterData.cs
- PropertyHelper.cs
- TextCompositionEventArgs.cs
- ExternalFile.cs
- TraceSection.cs
- AuthorizationRule.cs
- ActivityCollectionMarkupSerializer.cs
- Thumb.cs
- EntityTypeBase.cs
- WebAdminConfigurationHelper.cs
- SecurityUtils.cs
- RulePatternOps.cs
- Stackframe.cs
- DoubleLinkList.cs
- BaseResourcesBuildProvider.cs
- EventLogSession.cs
- UpdatePanelTrigger.cs
- TextUtf8RawTextWriter.cs
- BulletDecorator.cs
- DefinitionUpdate.cs
- JpegBitmapEncoder.cs
- QueryCursorEventArgs.cs
- UiaCoreProviderApi.cs
- SQLCharsStorage.cs
- DynamicField.cs
- TextEditorThreadLocalStore.cs
- _FtpDataStream.cs
- BitmapPalettes.cs
- ActivityDelegate.cs
- HuffmanTree.cs
- RtfToXamlReader.cs
- ImageClickEventArgs.cs
- TimelineClockCollection.cs
- PrintPreviewControl.cs
- DateTimeFormatInfo.cs
- CapabilitiesRule.cs
- WindowsPen.cs
- ConversionValidationRule.cs
- StatusBarDrawItemEvent.cs
- MetadataPropertyAttribute.cs
- EventSinkActivityDesigner.cs
- SHA256.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- ClientUtils.cs
- TableRow.cs
- Sql8ExpressionRewriter.cs
- WindowsIPAddress.cs
- Aggregates.cs
- Error.cs
- EntityKeyElement.cs
- ThousandthOfEmRealPoints.cs
- ListBindableAttribute.cs