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
- GC.cs
- ChineseLunisolarCalendar.cs
- Missing.cs
- TextWriterEngine.cs
- SkipQueryOptionExpression.cs
- GcHandle.cs
- ToolStripGripRenderEventArgs.cs
- IIS7UserPrincipal.cs
- _SslSessionsCache.cs
- QilStrConcat.cs
- X509CertificateChain.cs
- CodeNamespaceCollection.cs
- SQLBytesStorage.cs
- ServiceChannel.cs
- TextDecoration.cs
- CounterSample.cs
- embossbitmapeffect.cs
- ReferenceEqualityComparer.cs
- TrackingServices.cs
- ReflectionHelper.cs
- PaintValueEventArgs.cs
- LogPolicy.cs
- AncestorChangedEventArgs.cs
- CorrelationTokenTypeConvertor.cs
- ConfigXmlSignificantWhitespace.cs
- fixedPageContentExtractor.cs
- Pen.cs
- AssemblyAssociatedContentFileAttribute.cs
- Automation.cs
- ImportCatalogPart.cs
- QilPatternFactory.cs
- EncoderNLS.cs
- UrlAuthFailureHandler.cs
- PerformanceCounters.cs
- OleDbInfoMessageEvent.cs
- QuaternionIndependentAnimationStorage.cs
- ExtendedPropertyInfo.cs
- LocationEnvironment.cs
- Vector3dCollection.cs
- SQLByteStorage.cs
- DriveNotFoundException.cs
- SerialPinChanges.cs
- Paragraph.cs
- SizeChangedInfo.cs
- RectangleGeometry.cs
- SqlWorkflowPersistenceService.cs
- TreeViewImageGenerator.cs
- ApplicationHost.cs
- CategoryGridEntry.cs
- RSACryptoServiceProvider.cs
- Help.cs
- RoleBoolean.cs
- DataGridState.cs
- StorageEntitySetMapping.cs
- _NegoStream.cs
- ListViewDataItem.cs
- ModelItem.cs
- Int64AnimationBase.cs
- DataChangedEventManager.cs
- ComponentEditorPage.cs
- FixedSOMTableRow.cs
- DSASignatureDeformatter.cs
- TypeToStringValueConverter.cs
- iisPickupDirectory.cs
- GrammarBuilderDictation.cs
- UpDownEvent.cs
- Control.cs
- RijndaelManaged.cs
- TypeBuilder.cs
- CommandPlan.cs
- Size3DValueSerializer.cs
- DataKey.cs
- EntityDesignPluralizationHandler.cs
- StateManagedCollection.cs
- WindowsFont.cs
- ThreadExceptionEvent.cs
- FloaterBaseParagraph.cs
- DesignerDeviceConfig.cs
- SpeechEvent.cs
- EventLogEntryCollection.cs
- FreezableOperations.cs
- TreeViewItemAutomationPeer.cs
- HttpRawResponse.cs
- FileDialog.cs
- IIS7WorkerRequest.cs
- UIHelper.cs
- ApplicationDirectory.cs
- PathData.cs
- safemediahandle.cs
- XmlDomTextWriter.cs
- CultureInfo.cs
- AmbientValueAttribute.cs
- DoubleCollectionConverter.cs
- OleDbDataReader.cs
- DictionaryContent.cs
- UTF7Encoding.cs
- RawStylusInput.cs
- CodeGenerator.cs
- ResXResourceReader.cs
- RedBlackList.cs