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
- DataTableExtensions.cs
- BaseParagraph.cs
- AuthorizationPolicyTypeElementCollection.cs
- IndependentAnimationStorage.cs
- FixedFindEngine.cs
- VisualStyleTypesAndProperties.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- FrameworkPropertyMetadata.cs
- StreamWithDictionary.cs
- MoveSizeWinEventHandler.cs
- SequenceNumber.cs
- HttpRawResponse.cs
- CheckBox.cs
- CommonDialog.cs
- CqlParserHelpers.cs
- FileDialog.cs
- DurableDispatcherAddressingFault.cs
- DateTimeHelper.cs
- FlowPanelDesigner.cs
- SelectionProviderWrapper.cs
- QilReplaceVisitor.cs
- PackUriHelper.cs
- DataGridViewColumnCollection.cs
- WebBrowserProgressChangedEventHandler.cs
- SecureUICommand.cs
- Variant.cs
- OdbcException.cs
- FastEncoderStatics.cs
- StatusInfoItem.cs
- _RequestLifetimeSetter.cs
- TableChangeProcessor.cs
- ListViewPagedDataSource.cs
- ApplicationServiceManager.cs
- MimeTypePropertyAttribute.cs
- TextRangeBase.cs
- ThreadStaticAttribute.cs
- AvTraceDetails.cs
- JapaneseLunisolarCalendar.cs
- DBParameter.cs
- SafeCryptContextHandle.cs
- ClientTargetCollection.cs
- TextSchema.cs
- EllipticalNodeOperations.cs
- TextContainerChangedEventArgs.cs
- DeviceContext2.cs
- ClosableStream.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- RIPEMD160.cs
- RegexCompiler.cs
- QilXmlReader.cs
- ButtonAutomationPeer.cs
- MdImport.cs
- DataGridViewRowHeaderCell.cs
- RewritingSimplifier.cs
- TableLayoutPanel.cs
- BezierSegment.cs
- SerializationInfoEnumerator.cs
- StringAttributeCollection.cs
- MaskedTextBox.cs
- ItemCheckEvent.cs
- SurrogateChar.cs
- StylusOverProperty.cs
- PolyBezierSegmentFigureLogic.cs
- HandledMouseEvent.cs
- OdbcParameterCollection.cs
- InProcStateClientManager.cs
- HttpListenerException.cs
- ReflectEventDescriptor.cs
- RuleSet.cs
- XmlSchemaAttribute.cs
- Trace.cs
- ReadOnlyNameValueCollection.cs
- ViewEventArgs.cs
- WorkflowInstanceRecord.cs
- InstanceNameConverter.cs
- StringFreezingAttribute.cs
- MemoryFailPoint.cs
- BoolExpression.cs
- FileDialog.cs
- EnumBuilder.cs
- ByteFacetDescriptionElement.cs
- AuthorizationRule.cs
- FillErrorEventArgs.cs
- InheritanceContextChangedEventManager.cs
- WebDescriptionAttribute.cs
- RoutedUICommand.cs
- DependencyPropertyAttribute.cs
- CompensatableTransactionScopeActivity.cs
- GroupByQueryOperator.cs
- OptimizerPatterns.cs
- ObjectStateEntry.cs
- AnnotationResourceChangedEventArgs.cs
- AutomationAttributeInfo.cs
- TransactionContextValidator.cs
- ScaleTransform.cs
- FactoryId.cs
- SafeSystemMetrics.cs
- UrlParameterReader.cs
- BitmapFrame.cs
- TypeDescriptionProvider.cs