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
- ConnectionManagementElement.cs
- HttpException.cs
- StreamAsIStream.cs
- EventWaitHandle.cs
- DirectionalLight.cs
- DoubleUtil.cs
- OLEDB_Enum.cs
- EdmSchemaAttribute.cs
- OutputCacheSettings.cs
- SkipStoryboardToFill.cs
- NetPeerTcpBindingCollectionElement.cs
- MeasureItemEvent.cs
- AsyncPostBackTrigger.cs
- WebPartManagerDesigner.cs
- ConnectionPoolManager.cs
- GetPageCompletedEventArgs.cs
- AudioFormatConverter.cs
- HandoffBehavior.cs
- CatalogZone.cs
- ItemCollectionEditor.cs
- PackageFilter.cs
- MembershipPasswordException.cs
- DrawingContextWalker.cs
- ContainerParaClient.cs
- ApplicationBuildProvider.cs
- FilterableAttribute.cs
- ListViewDataItem.cs
- BypassElement.cs
- OuterGlowBitmapEffect.cs
- future.cs
- XmlValueConverter.cs
- ClientSideQueueItem.cs
- ConnectionManagementSection.cs
- XmlMtomWriter.cs
- TableParagraph.cs
- GridViewCancelEditEventArgs.cs
- SqlProcedureAttribute.cs
- DockPanel.cs
- ValidateNames.cs
- HttpWebRequestElement.cs
- NameValueCache.cs
- WorkflowViewManager.cs
- TrackingMemoryStream.cs
- StorageFunctionMapping.cs
- UniformGrid.cs
- XmlSchemaChoice.cs
- BamlTreeMap.cs
- SocketInformation.cs
- GeneralTransform3DCollection.cs
- BufferAllocator.cs
- EndOfStreamException.cs
- TrustManager.cs
- MetricEntry.cs
- HtmlTextArea.cs
- BreakRecordTable.cs
- Label.cs
- WebPartDisplayModeEventArgs.cs
- NetworkCredential.cs
- ProtocolsConfiguration.cs
- SchemaCollectionCompiler.cs
- ControlParameter.cs
- BindingListCollectionView.cs
- PolygonHotSpot.cs
- GraphicsPath.cs
- ScriptingJsonSerializationSection.cs
- Errors.cs
- PointAnimation.cs
- XmlAttributeCollection.cs
- HashCodeCombiner.cs
- Timer.cs
- Encoder.cs
- DataView.cs
- AvTraceFormat.cs
- CompilerInfo.cs
- oledbmetadatacollectionnames.cs
- PatternMatcher.cs
- SystemPens.cs
- WeakReferenceList.cs
- InvalidCommandTreeException.cs
- InputScopeAttribute.cs
- EventManager.cs
- SchemaComplexType.cs
- TransformConverter.cs
- ProfileInfo.cs
- EventManager.cs
- OnOperation.cs
- DropShadowEffect.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- MappingException.cs
- PathData.cs
- MouseEventArgs.cs
- RepeatBehaviorConverter.cs
- ListItemCollection.cs
- ClaimComparer.cs
- Binding.cs
- HttpPostedFile.cs
- DataGridViewSelectedRowCollection.cs
- DesignerTransaction.cs
- StreamUpdate.cs
- BinaryNegotiation.cs