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
- TextServicesLoader.cs
- CqlWriter.cs
- BitmapCodecInfo.cs
- OutputCacheSection.cs
- TextDecorationUnitValidation.cs
- CursorInteropHelper.cs
- PersonalizationProvider.cs
- DataGridColumn.cs
- ObjectDataSourceEventArgs.cs
- Rectangle.cs
- TrustLevelCollection.cs
- SafeSecurityHelper.cs
- SelectionListDesigner.cs
- EntityContainerEmitter.cs
- DataGridViewHitTestInfo.cs
- OdbcError.cs
- SqlBulkCopyColumnMappingCollection.cs
- AssemblyBuilder.cs
- AuthenticationService.cs
- InitialServerConnectionReader.cs
- mediaeventargs.cs
- WizardPanel.cs
- HostingEnvironment.cs
- AssemblyUtil.cs
- RIPEMD160.cs
- SweepDirectionValidation.cs
- HideDisabledControlAdapter.cs
- ContourSegment.cs
- CodeMemberEvent.cs
- OleDbRowUpdatingEvent.cs
- SupportingTokenListenerFactory.cs
- AssemblyUtil.cs
- AutomationAttributeInfo.cs
- PrintingPermissionAttribute.cs
- PropertyEmitterBase.cs
- XmlKeywords.cs
- Label.cs
- SmtpNetworkElement.cs
- DataDocumentXPathNavigator.cs
- CollectionChangedEventManager.cs
- DataComponentGenerator.cs
- PropertyEmitter.cs
- TiffBitmapEncoder.cs
- WorkflowQueuingService.cs
- PrivacyNoticeBindingElement.cs
- TreeBuilder.cs
- TypeReference.cs
- TransformerInfo.cs
- WorkflowMarkupElementEventArgs.cs
- SQLDecimalStorage.cs
- WrapPanel.cs
- Speller.cs
- Serialization.cs
- PackageRelationship.cs
- PipelineModuleStepContainer.cs
- FindCriteria11.cs
- GenericIdentity.cs
- DES.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- AdornerLayer.cs
- PixelFormat.cs
- KerberosReceiverSecurityToken.cs
- RenderContext.cs
- listitem.cs
- RoutedEvent.cs
- WebPartsPersonalization.cs
- WebReference.cs
- IOThreadTimer.cs
- TextSearch.cs
- ClientRolePrincipal.cs
- RemotingAttributes.cs
- FormViewPageEventArgs.cs
- HttpConfigurationSystem.cs
- RepeatBehavior.cs
- TabRenderer.cs
- MemberBinding.cs
- SoapEnumAttribute.cs
- SectionUpdates.cs
- AssemblyInfo.cs
- HtmlInputImage.cs
- ViewgenContext.cs
- Point.cs
- QuestionEventArgs.cs
- Message.cs
- GridView.cs
- TextDocumentView.cs
- ListViewInsertionMark.cs
- XmlSchemaValidator.cs
- MulticastNotSupportedException.cs
- ElapsedEventArgs.cs
- LocalValueEnumerator.cs
- XPathNodePointer.cs
- CompilationPass2TaskInternal.cs
- SchemaUtility.cs
- CodeDirectoryCompiler.cs
- BindingListCollectionView.cs
- MultiBinding.cs
- XsdCachingReader.cs
- PolicyStatement.cs
- EncryptedData.cs