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
- OdbcUtils.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- BamlTreeUpdater.cs
- RelationshipEnd.cs
- DocumentPageView.cs
- WebPartZoneBase.cs
- storepermission.cs
- WinEventTracker.cs
- HandlerElement.cs
- XamlSerializationHelper.cs
- PerformanceCounterPermissionAttribute.cs
- ProcessHost.cs
- UnsafeNativeMethodsCLR.cs
- AttachmentCollection.cs
- TcpClientChannel.cs
- EllipticalNodeOperations.cs
- InternalRelationshipCollection.cs
- EditorPartCollection.cs
- DataGridViewCellCollection.cs
- TextTreeObjectNode.cs
- MailAddressCollection.cs
- RadioButtonList.cs
- _SslState.cs
- ResourcesBuildProvider.cs
- Storyboard.cs
- EventWaitHandleSecurity.cs
- ConfigXmlText.cs
- WindowsSpinner.cs
- Clipboard.cs
- Select.cs
- DbMetaDataFactory.cs
- SHA512Managed.cs
- DataBindEngine.cs
- DescendantBaseQuery.cs
- DeflateEmulationStream.cs
- WebScriptMetadataMessageEncoderFactory.cs
- KnownTypesProvider.cs
- InstanceOwner.cs
- Models.cs
- ExpressionLexer.cs
- SimpleRecyclingCache.cs
- FormsIdentity.cs
- ReadOnlyDataSource.cs
- NativeMethods.cs
- ContentType.cs
- WebColorConverter.cs
- IntersectQueryOperator.cs
- Translator.cs
- ValueTable.cs
- Logging.cs
- DataGridViewTextBoxEditingControl.cs
- TreeChangeInfo.cs
- FlowPosition.cs
- Journal.cs
- DrawingContextWalker.cs
- EncoderNLS.cs
- ClientRoleProvider.cs
- MediaTimeline.cs
- SecurityCriticalDataForSet.cs
- HtmlTextBoxAdapter.cs
- ProtectedConfigurationSection.cs
- PerformanceCounterLib.cs
- TraceListeners.cs
- SafeLibraryHandle.cs
- HostProtectionPermission.cs
- PolyBezierSegment.cs
- NotifyParentPropertyAttribute.cs
- HistoryEventArgs.cs
- EntityDataReader.cs
- ProfileInfo.cs
- ClientConfigPaths.cs
- XmlNamedNodeMap.cs
- ToolboxItem.cs
- SharedPersonalizationStateInfo.cs
- DbRetry.cs
- CompoundFileReference.cs
- ColumnWidthChangedEvent.cs
- WinFormsUtils.cs
- ReadOnlyDictionary.cs
- ErrorLog.cs
- ListBoxItemAutomationPeer.cs
- PeerInputChannel.cs
- ConfigurationSettings.cs
- CompensationTokenData.cs
- ProcessThreadCollection.cs
- TransactionFormatter.cs
- DBSchemaTable.cs
- SiteMapSection.cs
- CodeTypeReference.cs
- Parser.cs
- SupportsEventValidationAttribute.cs
- DockProviderWrapper.cs
- SpecularMaterial.cs
- PersonalizationProviderCollection.cs
- PropertyDescriptorCollection.cs
- ServiceModelInstallComponent.cs
- EventLogPermissionEntry.cs
- OSFeature.cs
- RuleSettings.cs
- ReplacementText.cs