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
- DataServicePagingProviderWrapper.cs
- DebugControllerThread.cs
- CallbackValidatorAttribute.cs
- DataChangedEventManager.cs
- WebPartEditVerb.cs
- ReadOnlyDataSource.cs
- ICspAsymmetricAlgorithm.cs
- Renderer.cs
- MimeTypePropertyAttribute.cs
- Composition.cs
- DesignerHelpers.cs
- BitmapData.cs
- SafeNativeMemoryHandle.cs
- URLIdentityPermission.cs
- XmlCollation.cs
- WizardSideBarListControlItem.cs
- BooleanConverter.cs
- TraceShell.cs
- DbProviderConfigurationHandler.cs
- DataServiceHost.cs
- Rect.cs
- EmptyReadOnlyDictionaryInternal.cs
- WorkflowElementDialog.cs
- TypedTableBaseExtensions.cs
- SortedDictionary.cs
- RawStylusInputCustomDataList.cs
- Margins.cs
- RequiredAttributeAttribute.cs
- ZoneLinkButton.cs
- GenericPrincipal.cs
- GcHandle.cs
- WinEventTracker.cs
- nulltextnavigator.cs
- Point3D.cs
- RenderData.cs
- ProtocolsConfiguration.cs
- PopupRoot.cs
- HTTPNotFoundHandler.cs
- COM2ColorConverter.cs
- ParallelTimeline.cs
- WebPageTraceListener.cs
- TableHeaderCell.cs
- HighlightComponent.cs
- IsolatedStorage.cs
- PropertyEntry.cs
- BitmapEffectOutputConnector.cs
- WindowsHyperlink.cs
- XamlTreeBuilder.cs
- ListControl.cs
- CompositeScriptReference.cs
- GridSplitterAutomationPeer.cs
- CellTreeNode.cs
- NotifyIcon.cs
- DictionarySurrogate.cs
- ValidatedControlConverter.cs
- HttpWebResponse.cs
- ReliableOutputConnection.cs
- ImageAutomationPeer.cs
- ScrollableControl.cs
- CodeDOMUtility.cs
- ScriptMethodAttribute.cs
- TaskFormBase.cs
- Error.cs
- TypeInitializationException.cs
- LeftCellWrapper.cs
- WebReference.cs
- SystemBrushes.cs
- SqlVersion.cs
- Dump.cs
- IMembershipProvider.cs
- BorderSidesEditor.cs
- UriWriter.cs
- UDPClient.cs
- HyperLinkStyle.cs
- FixedTextSelectionProcessor.cs
- EntryIndex.cs
- FixedBufferAttribute.cs
- EllipseGeometry.cs
- ReadOnlyDictionary.cs
- ObjectListGeneralPage.cs
- MachineKeyValidationConverter.cs
- CompilerErrorCollection.cs
- NTAccount.cs
- GridItemPatternIdentifiers.cs
- WebDescriptionAttribute.cs
- ObjectListItem.cs
- XmlReader.cs
- ScriptControlDescriptor.cs
- PointAnimation.cs
- CodeSnippetTypeMember.cs
- SchemaSetCompiler.cs
- CollectionAdapters.cs
- ServiceChannelProxy.cs
- DetailsViewAutoFormat.cs
- DependencyObjectProvider.cs
- Vector3DIndependentAnimationStorage.cs
- JournalNavigationScope.cs
- EncodingDataItem.cs
- CursorConverter.cs
- Queue.cs