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
- NativeMethods.cs
- MetadataCache.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- UserValidatedEventArgs.cs
- CodeMethodInvokeExpression.cs
- SchemaMapping.cs
- RootProfilePropertySettingsCollection.cs
- FileRecordSequenceCompletedAsyncResult.cs
- WebPartTracker.cs
- RawStylusSystemGestureInputReport.cs
- DataServiceQueryProvider.cs
- FilterUserControlBase.cs
- PerformanceCounter.cs
- SessionStateItemCollection.cs
- XmlCharCheckingWriter.cs
- XmlCharCheckingWriter.cs
- ElementHostPropertyMap.cs
- NonceCache.cs
- RangeValidator.cs
- BitmapCache.cs
- CountdownEvent.cs
- BeginStoryboard.cs
- DependencySource.cs
- LogEntryHeaderDeserializer.cs
- ButtonRenderer.cs
- Action.cs
- ModelItemDictionary.cs
- AuthorizationRuleCollection.cs
- PersonalizationStateQuery.cs
- DataGridTablesFactory.cs
- CodeIdentifier.cs
- WebPartExportVerb.cs
- ChangePassword.cs
- _LoggingObject.cs
- DataContractSet.cs
- DataColumnMappingCollection.cs
- SafeCryptHandles.cs
- VoiceObjectToken.cs
- ActiveDesignSurfaceEvent.cs
- GroupBoxRenderer.cs
- altserialization.cs
- DataGridViewCellFormattingEventArgs.cs
- ReflectionHelper.cs
- ListView.cs
- DispatcherExceptionEventArgs.cs
- TriggerAction.cs
- WebPartUtil.cs
- DispatcherExceptionFilterEventArgs.cs
- EventProxy.cs
- ScrollBar.cs
- UnionExpr.cs
- EndOfStreamException.cs
- SequentialWorkflowHeaderFooter.cs
- MetadataProperty.cs
- DbConnectionInternal.cs
- UrlMapping.cs
- PanningMessageFilter.cs
- RegisteredDisposeScript.cs
- NameValueSectionHandler.cs
- EntityCommandExecutionException.cs
- ITextView.cs
- WindowsToolbarAsMenu.cs
- GridToolTip.cs
- Win32KeyboardDevice.cs
- ArrayWithOffset.cs
- WebBrowsableAttribute.cs
- MonitorWrapper.cs
- DataList.cs
- SetStoryboardSpeedRatio.cs
- ZipFileInfo.cs
- TabRenderer.cs
- MarkerProperties.cs
- TypeAccessException.cs
- TextTreeTextNode.cs
- Compress.cs
- EdmSchemaError.cs
- ModulesEntry.cs
- FragmentQueryProcessor.cs
- CopyCodeAction.cs
- XsdDataContractExporter.cs
- NonVisualControlAttribute.cs
- DynamicControl.cs
- XsltLibrary.cs
- CategoryGridEntry.cs
- DragDrop.cs
- EncoderExceptionFallback.cs
- ConfigXmlCDataSection.cs
- SByteStorage.cs
- RemoteX509AsymmetricSecurityKey.cs
- CacheEntry.cs
- EndpointReference.cs
- FragmentNavigationEventArgs.cs
- TypeDescriptionProvider.cs
- Assembly.cs
- ObfuscationAttribute.cs
- InvalidAsynchronousStateException.cs
- GridViewRowPresenter.cs
- MemberCollection.cs
- ValueSerializer.cs
- SoapCodeExporter.cs