Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Script / Services / ScriptMethodAttribute.cs / 1305376 / ScriptMethodAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Script.Services {
using System;
using System.Web;
[
AttributeUsage(AttributeTargets.Method)
]
public sealed class ScriptMethodAttribute : Attribute {
private ResponseFormat _responseFormat;
private bool _useHttpGet;
private bool _xmlSerializeString;
public ResponseFormat ResponseFormat {
get {
return _responseFormat;
}
set {
_responseFormat = value;
}
}
public bool UseHttpGet {
get {
return _useHttpGet;
}
set {
_useHttpGet = value;
}
}
public bool XmlSerializeString {
get {
return _xmlSerializeString;
}
set {
_xmlSerializeString = 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.Web;
[
AttributeUsage(AttributeTargets.Method)
]
public sealed class ScriptMethodAttribute : Attribute {
private ResponseFormat _responseFormat;
private bool _useHttpGet;
private bool _xmlSerializeString;
public ResponseFormat ResponseFormat {
get {
return _responseFormat;
}
set {
_responseFormat = value;
}
}
public bool UseHttpGet {
get {
return _useHttpGet;
}
set {
_useHttpGet = value;
}
}
public bool XmlSerializeString {
get {
return _xmlSerializeString;
}
set {
_xmlSerializeString = 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
- ContractCodeDomInfo.cs
- MemberCollection.cs
- XomlCompilerResults.cs
- PageAsyncTask.cs
- DataGridViewCellValueEventArgs.cs
- WriteTimeStream.cs
- UnitControl.cs
- EditorBrowsableAttribute.cs
- PreviewPageInfo.cs
- DataObjectCopyingEventArgs.cs
- TextSelectionHelper.cs
- ServiceHost.cs
- DbProviderFactory.cs
- ToolStripItemClickedEventArgs.cs
- ThemeDirectoryCompiler.cs
- SolidColorBrush.cs
- ManifestResourceInfo.cs
- SignatureToken.cs
- RawStylusInputCustomDataList.cs
- DescriptionCreator.cs
- Registration.cs
- UnionExpr.cs
- ThreadAbortException.cs
- TransformerInfoCollection.cs
- ResourceDefaultValueAttribute.cs
- PathGeometry.cs
- ICspAsymmetricAlgorithm.cs
- WSHttpBindingElement.cs
- UserInitiatedNavigationPermission.cs
- Signature.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Lasso.cs
- FilteredDataSetHelper.cs
- GregorianCalendar.cs
- URL.cs
- WebFaultException.cs
- ErrorWrapper.cs
- Types.cs
- CorruptingExceptionCommon.cs
- TreeNode.cs
- ExpressionNode.cs
- XmlSchemaDocumentation.cs
- GregorianCalendar.cs
- FormClosingEvent.cs
- DtdParser.cs
- FixedDocumentSequencePaginator.cs
- RecognizedAudio.cs
- GeneralTransform3DTo2DTo3D.cs
- TabControl.cs
- BindingOperations.cs
- Point3DValueSerializer.cs
- MimeTypePropertyAttribute.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ProtectedProviderSettings.cs
- UrlPath.cs
- TableLayoutSettings.cs
- CursorInteropHelper.cs
- HMACRIPEMD160.cs
- XmlAutoDetectWriter.cs
- NotImplementedException.cs
- ImageInfo.cs
- SHA1CryptoServiceProvider.cs
- SystemDiagnosticsSection.cs
- Fx.cs
- Constraint.cs
- PasswordPropertyTextAttribute.cs
- DesignObjectWrapper.cs
- UdpTransportBindingElement.cs
- StaticExtension.cs
- PathFigureCollection.cs
- RegexWorker.cs
- RightsManagementManager.cs
- WebPartTracker.cs
- ADMembershipProvider.cs
- SoapException.cs
- ConfigXmlAttribute.cs
- FrameworkContextData.cs
- PropertyChangingEventArgs.cs
- XmlExceptionHelper.cs
- FileRecordSequenceHelper.cs
- BevelBitmapEffect.cs
- IntegrationExceptionEventArgs.cs
- CaseInsensitiveOrdinalStringComparer.cs
- LinkButton.cs
- listitem.cs
- TransformPatternIdentifiers.cs
- recordstatescratchpad.cs
- ProofTokenCryptoHandle.cs
- EncodingDataItem.cs
- QualifiedCellIdBoolean.cs
- SoundPlayerAction.cs
- DbCommandDefinition.cs
- ViewManagerAttribute.cs
- DataGridViewBand.cs
- CodeGenerator.cs
- AjaxFrameworkAssemblyAttribute.cs
- RenderData.cs
- OrderablePartitioner.cs
- QueryOperationResponseOfT.cs
- Point3DAnimationUsingKeyFrames.cs