Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- MinimizableAttributeTypeConverter.cs
- EncryptedData.cs
- ToolStripRendererSwitcher.cs
- WindowExtensionMethods.cs
- Classification.cs
- SafeNativeMethodsOther.cs
- EventListenerClientSide.cs
- SocketInformation.cs
- BlockUIContainer.cs
- TemplateControlCodeDomTreeGenerator.cs
- COM2FontConverter.cs
- QueueProcessor.cs
- ClockController.cs
- XNodeValidator.cs
- HMACSHA1.cs
- IssuedTokenParametersElement.cs
- TokenizerHelper.cs
- LinqDataSourceEditData.cs
- EmptyQuery.cs
- ValueChangedEventManager.cs
- DescendentsWalker.cs
- MonthChangedEventArgs.cs
- Timeline.cs
- HuffmanTree.cs
- CmsInterop.cs
- Attributes.cs
- Package.cs
- TreeView.cs
- OleDbFactory.cs
- FixedSOMPageElement.cs
- SByteConverter.cs
- EventProxy.cs
- InlineCollection.cs
- BlobPersonalizationState.cs
- DragDeltaEventArgs.cs
- ButtonColumn.cs
- ActivityWithResult.cs
- HostSecurityManager.cs
- ArgumentOutOfRangeException.cs
- SimpleApplicationHost.cs
- DataObjectFieldAttribute.cs
- ItemCheckedEvent.cs
- XmlSubtreeReader.cs
- PageContent.cs
- GrowingArray.cs
- VBIdentifierName.cs
- SortQuery.cs
- ImageSourceConverter.cs
- BulletDecorator.cs
- FileRecordSequence.cs
- LineServices.cs
- SerialErrors.cs
- ThicknessAnimation.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TypeHelpers.cs
- DbConnectionInternal.cs
- SignedXml.cs
- XmlSchema.cs
- TextFindEngine.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SerializableAttribute.cs
- ProfileBuildProvider.cs
- UndirectedGraph.cs
- WizardStepBase.cs
- SapiRecoInterop.cs
- SelectionUIService.cs
- XmlSchemaInclude.cs
- TransportBindingElementImporter.cs
- coordinatorscratchpad.cs
- SerTrace.cs
- HostingEnvironmentSection.cs
- HandlerFactoryWrapper.cs
- StringUtil.cs
- arclist.cs
- IntegerFacetDescriptionElement.cs
- ValueTable.cs
- InputReport.cs
- PropertyReferenceSerializer.cs
- ValidatingCollection.cs
- XmlText.cs
- CssTextWriter.cs
- BooleanAnimationUsingKeyFrames.cs
- Facet.cs
- HttpCacheVary.cs
- SafeThemeHandle.cs
- StreamWithDictionary.cs
- PkcsMisc.cs
- DataGridViewCellParsingEventArgs.cs
- CodeMemberEvent.cs
- Transform.cs
- DesignerActionVerbList.cs
- InputMethod.cs
- Paragraph.cs
- SHA384CryptoServiceProvider.cs
- TrackingStringDictionary.cs
- _SslStream.cs
- ColumnHeaderConverter.cs
- SiblingIterators.cs
- CapabilitiesState.cs
- BitmapSourceSafeMILHandle.cs