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
- CodeTypeDeclarationCollection.cs
- PartialCachingControl.cs
- SQLDateTime.cs
- VectorCollection.cs
- ServiceDocument.cs
- NameSpaceExtractor.cs
- UnicodeEncoding.cs
- DockProviderWrapper.cs
- CompatibleComparer.cs
- Rule.cs
- FormsAuthenticationEventArgs.cs
- DataGridColumnHeaderCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TableLayoutStyleCollection.cs
- InitializationEventAttribute.cs
- Matrix.cs
- RuleRef.cs
- MatrixAnimationBase.cs
- XmlNullResolver.cs
- Parameter.cs
- WindowsFormsSectionHandler.cs
- TypeConverterHelper.cs
- VariableQuery.cs
- XNodeNavigator.cs
- ISFClipboardData.cs
- StateWorkerRequest.cs
- XXXOnTypeBuilderInstantiation.cs
- ChainedAsyncResult.cs
- SemanticResolver.cs
- SymbolTable.cs
- Point3DCollection.cs
- DataGridViewLinkColumn.cs
- FrameworkReadOnlyPropertyMetadata.cs
- NameScope.cs
- GridViewUpdatedEventArgs.cs
- SimpleTypeResolver.cs
- QuerySettings.cs
- DefaultClaimSet.cs
- DiscriminatorMap.cs
- ParallelQuery.cs
- TraceSource.cs
- PassportAuthenticationEventArgs.cs
- EventMetadata.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- TriggerAction.cs
- FormViewPageEventArgs.cs
- ViewManager.cs
- MetadataCacheItem.cs
- DataControlFieldCollection.cs
- TableCell.cs
- VisualTreeHelper.cs
- Msec.cs
- IRCollection.cs
- TransformerTypeCollection.cs
- StylusEventArgs.cs
- ProxyHwnd.cs
- FixedTextView.cs
- Margins.cs
- ParseChildrenAsPropertiesAttribute.cs
- UrlPath.cs
- WebPartTracker.cs
- Misc.cs
- RadioButton.cs
- LayoutManager.cs
- AppDomainManager.cs
- TraversalRequest.cs
- StringFreezingAttribute.cs
- Rule.cs
- StringReader.cs
- FacetDescriptionElement.cs
- ModulesEntry.cs
- ConfigurationStrings.cs
- OutOfProcStateClientManager.cs
- SortedList.cs
- xmlglyphRunInfo.cs
- Rotation3D.cs
- SemaphoreSecurity.cs
- DocumentXmlWriter.cs
- XPathScanner.cs
- BaseParser.cs
- Rectangle.cs
- PhoneCallDesigner.cs
- DocumentReference.cs
- LexicalChunk.cs
- TextWriterTraceListener.cs
- UnsafeNativeMethods.cs
- Line.cs
- DataFormats.cs
- PerformanceCounterLib.cs
- DesignerVerbToolStripMenuItem.cs
- ElementFactory.cs
- ChannelRequirements.cs
- InvokeWebService.cs
- IpcChannelHelper.cs
- GenericWebPart.cs
- PropertyItem.cs
- AutomationElement.cs
- ToolStripSplitStackLayout.cs
- ViewStateAttachedPropertyFeature.cs
- XmlSchemaParticle.cs