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
- AppSettingsSection.cs
- XamlContextStack.cs
- FamilyTypefaceCollection.cs
- ScriptManager.cs
- Size3DConverter.cs
- CmsInterop.cs
- ImageList.cs
- MethodBuilder.cs
- TreeNodeBinding.cs
- EventsTab.cs
- DataBindingExpressionBuilder.cs
- PropertyGeneratedEventArgs.cs
- TemplateBindingExtensionConverter.cs
- PeerFlooder.cs
- ResourceManagerWrapper.cs
- SafeTimerHandle.cs
- PageThemeBuildProvider.cs
- DataGridViewColumn.cs
- ContentValidator.cs
- DocumentPageView.cs
- ItemCollection.cs
- CodeVariableDeclarationStatement.cs
- SchemaInfo.cs
- Tokenizer.cs
- ToolStripSplitButton.cs
- ActiveDesignSurfaceEvent.cs
- XomlCompilerParameters.cs
- ErasingStroke.cs
- WindowsSecurityTokenAuthenticator.cs
- VectorAnimationUsingKeyFrames.cs
- SettingsBase.cs
- AlternateViewCollection.cs
- XmlWellformedWriter.cs
- ErasingStroke.cs
- PropertyMetadata.cs
- DynamicPropertyHolder.cs
- DesignerForm.cs
- Trigger.cs
- HybridDictionary.cs
- RootProfilePropertySettingsCollection.cs
- CodeIndexerExpression.cs
- TypedTableBaseExtensions.cs
- CorrelationResolver.cs
- ColorAnimation.cs
- InstalledVoice.cs
- ExtendedPropertiesHandler.cs
- RequestUriProcessor.cs
- GridViewPageEventArgs.cs
- InteropExecutor.cs
- ITextView.cs
- TextServicesManager.cs
- BaseTemplateBuildProvider.cs
- COM2Properties.cs
- RepeatBehavior.cs
- ActivityExecutorSurrogate.cs
- Registry.cs
- WebBrowserPermission.cs
- _NestedMultipleAsyncResult.cs
- DataPagerFieldCollection.cs
- SafeEventHandle.cs
- TransformDescriptor.cs
- TableAdapterManagerMethodGenerator.cs
- VideoDrawing.cs
- MimeTypePropertyAttribute.cs
- DataRow.cs
- InkCanvasInnerCanvas.cs
- NetPipeSectionData.cs
- WsatExtendedInformation.cs
- Inline.cs
- FilteredXmlReader.cs
- WebPartCloseVerb.cs
- RangeValuePattern.cs
- ScrollChrome.cs
- NavigationCommands.cs
- PriorityBindingExpression.cs
- RectangleHotSpot.cs
- GestureRecognizer.cs
- AbstractSvcMapFileLoader.cs
- XmlSchemaSimpleContent.cs
- NeutralResourcesLanguageAttribute.cs
- TableLayoutRowStyleCollection.cs
- SqlDelegatedTransaction.cs
- MatrixAnimationUsingPath.cs
- RadioButtonAutomationPeer.cs
- NamespaceMapping.cs
- TreeNodeClickEventArgs.cs
- NameSpaceExtractor.cs
- NotifyParentPropertyAttribute.cs
- OleServicesContext.cs
- ExpressionEditor.cs
- CanonicalFontFamilyReference.cs
- ConsumerConnectionPoint.cs
- ZipIOLocalFileHeader.cs
- UriTemplate.cs
- COM2PropertyBuilderUITypeEditor.cs
- TreeViewItemAutomationPeer.cs
- TableItemProviderWrapper.cs
- EncodingInfo.cs
- StrokeSerializer.cs
- AdapterUtil.cs