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
- HWStack.cs
- userdatakeys.cs
- SortAction.cs
- BinaryWriter.cs
- NoneExcludedImageIndexConverter.cs
- StateManagedCollection.cs
- LogEntryHeaderSerializer.cs
- HyperLinkStyle.cs
- PropertyGridDesigner.cs
- PatternMatcher.cs
- CodeRemoveEventStatement.cs
- Double.cs
- SqlInternalConnectionSmi.cs
- ProtocolProfile.cs
- Convert.cs
- DetailsViewInsertEventArgs.cs
- VerificationAttribute.cs
- assertwrapper.cs
- Token.cs
- TrustManagerMoreInformation.cs
- webbrowsersite.cs
- ReadOnlyHierarchicalDataSourceView.cs
- BitmapPalette.cs
- ByteAnimation.cs
- ImageKeyConverter.cs
- NodeInfo.cs
- RC2CryptoServiceProvider.cs
- TextParentUndoUnit.cs
- GeneralTransformGroup.cs
- IdentityHolder.cs
- TableNameAttribute.cs
- BinaryObjectInfo.cs
- WindowsListViewGroupSubsetLink.cs
- VirtualizingStackPanel.cs
- OrthographicCamera.cs
- TdsParser.cs
- IBuiltInEvidence.cs
- ErrorTableItemStyle.cs
- DataTableClearEvent.cs
- XmlTextAttribute.cs
- ThemeDirectoryCompiler.cs
- COM2ExtendedTypeConverter.cs
- TraceSection.cs
- Light.cs
- SafeEventHandle.cs
- MatcherBuilder.cs
- WinEventHandler.cs
- CodeTypeParameter.cs
- DataGridLinkButton.cs
- DynamicRenderer.cs
- DragCompletedEventArgs.cs
- XPathSelectionIterator.cs
- SiteMapNodeItemEventArgs.cs
- ViewStateModeByIdAttribute.cs
- DataServiceQueryException.cs
- XmlnsDefinitionAttribute.cs
- CTreeGenerator.cs
- QilVisitor.cs
- DelegateBodyWriter.cs
- TraceSwitch.cs
- PathGradientBrush.cs
- embossbitmapeffect.cs
- VirtualDirectoryMapping.cs
- CustomCategoryAttribute.cs
- CompiledQueryCacheEntry.cs
- TabItem.cs
- Point3D.cs
- SHA1Managed.cs
- TextMarkerSource.cs
- TaiwanLunisolarCalendar.cs
- WindowsNonControl.cs
- XPathEmptyIterator.cs
- Tokenizer.cs
- QueryCacheKey.cs
- BufferAllocator.cs
- ServerIdentity.cs
- XomlCompiler.cs
- JulianCalendar.cs
- OleDbPropertySetGuid.cs
- DBSqlParser.cs
- ListBoxDesigner.cs
- ResponseStream.cs
- SelectionHighlightInfo.cs
- DataGridViewCellStyleConverter.cs
- SqlUDTStorage.cs
- PlanCompiler.cs
- AspNetCompatibilityRequirementsMode.cs
- XmlElementList.cs
- KnowledgeBase.cs
- TransactionChannelFaultConverter.cs
- PropertyDescriptor.cs
- DbConnectionClosed.cs
- PageWrapper.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- X509ChainPolicy.cs
- PropertyPathWorker.cs
- Stream.cs
- NaturalLanguageHyphenator.cs
- Assign.cs
- PeerReferralPolicy.cs