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
- ResumeStoryboard.cs
- Site.cs
- Container.cs
- SimpleLine.cs
- ErrorRuntimeConfig.cs
- FormViewRow.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SemanticResolver.cs
- Application.cs
- DataGridItem.cs
- EpmSyndicationContentSerializer.cs
- SafeCoTaskMem.cs
- XmlSchemaAll.cs
- AnnotationHelper.cs
- ObjectList.cs
- MailDefinition.cs
- InkCanvasSelectionAdorner.cs
- SafeWaitHandle.cs
- BufferModesCollection.cs
- TimerElapsedEvenArgs.cs
- PersonalizationStateInfoCollection.cs
- FreezableOperations.cs
- ScaleTransform3D.cs
- XPathException.cs
- UserPersonalizationStateInfo.cs
- ControlCachePolicy.cs
- DeploymentSection.cs
- SqlCacheDependencySection.cs
- RealProxy.cs
- XamlWriter.cs
- CustomTrackingQuery.cs
- DataListItemEventArgs.cs
- AnimationClockResource.cs
- InvalidProgramException.cs
- _ShellExpression.cs
- FtpWebRequest.cs
- D3DImage.cs
- MatrixTransform3D.cs
- pingexception.cs
- OdbcCommand.cs
- PropertyItemInternal.cs
- XmlSerializationReader.cs
- SqlProvider.cs
- ExtractedStateEntry.cs
- SqlDataAdapter.cs
- FieldReference.cs
- RequestStatusBarUpdateEventArgs.cs
- SourceElementsCollection.cs
- ConfigXmlComment.cs
- AndAlso.cs
- RetriableClipboard.cs
- DocumentSequenceHighlightLayer.cs
- UnsignedPublishLicense.cs
- FontInfo.cs
- BamlTreeMap.cs
- Point3D.cs
- ComponentResourceManager.cs
- HelloMessage11.cs
- CustomAttributeBuilder.cs
- RawAppCommandInputReport.cs
- TraceSection.cs
- PageSetupDialog.cs
- IntSecurity.cs
- CqlLexerHelpers.cs
- ForceCopyBuildProvider.cs
- DrawingGroupDrawingContext.cs
- ScrollChrome.cs
- BitFlagsGenerator.cs
- ActivationServices.cs
- Collection.cs
- ArrangedElement.cs
- FunctionOverloadResolver.cs
- XslTransform.cs
- IWorkflowDebuggerService.cs
- DecoderReplacementFallback.cs
- ObjectRef.cs
- ToolStripPanelCell.cs
- SqlTypesSchemaImporter.cs
- FontStyles.cs
- HtmlTableRowCollection.cs
- BindableAttribute.cs
- PatternMatcher.cs
- GenerateTemporaryTargetAssembly.cs
- XmlEncodedRawTextWriter.cs
- SystemWebExtensionsSectionGroup.cs
- DetailsViewRow.cs
- ObjectContextServiceProvider.cs
- TextTreeNode.cs
- TypedElement.cs
- CountdownEvent.cs
- XPathMessageFilterElementComparer.cs
- PinnedBufferMemoryStream.cs
- ThreadAbortException.cs
- Expression.cs
- ListViewEditEventArgs.cs
- FileSystemWatcher.cs
- LogFlushAsyncResult.cs
- Msmq.cs
- RenderingEventArgs.cs
- XmlWhitespace.cs