Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / Script / Services / ScriptMethodAttribute.cs / 1 / ScriptMethodAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Services { using System; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), 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.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), 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
- SingleAnimation.cs
- Vector3DAnimation.cs
- MarkupCompilePass2.cs
- Asn1IntegerConverter.cs
- CapabilitiesPattern.cs
- GeneralTransform2DTo3DTo2D.cs
- ReadonlyMessageFilter.cs
- Vector3D.cs
- MultilineStringConverter.cs
- NetworkInformationPermission.cs
- DocumentReference.cs
- FloaterBaseParagraph.cs
- SwitchAttribute.cs
- AssemblyInfo.cs
- MemberCollection.cs
- Pts.cs
- ResXBuildProvider.cs
- KeysConverter.cs
- FrameworkObject.cs
- ThemeableAttribute.cs
- WindowsRebar.cs
- WebPartCloseVerb.cs
- ApplicationInfo.cs
- JsonDeserializer.cs
- BoundConstants.cs
- AttributeData.cs
- GridItemCollection.cs
- ProcessHostServerConfig.cs
- ProvidersHelper.cs
- NominalTypeEliminator.cs
- ReadOnlyHierarchicalDataSource.cs
- CodeCompiler.cs
- ControlParameter.cs
- GeneralTransform3D.cs
- DbParameterCollectionHelper.cs
- PersonalizationStateInfo.cs
- Duration.cs
- ClientProxyGenerator.cs
- Window.cs
- StylusCollection.cs
- DataGridRelationshipRow.cs
- XmlLanguage.cs
- CreateUserWizardStep.cs
- CodeTypeConstructor.cs
- OdbcTransaction.cs
- DataBinder.cs
- WebPartManagerInternals.cs
- TextMetrics.cs
- BitmapMetadataBlob.cs
- ActivityWithResultWrapper.cs
- CompositeControl.cs
- SectionRecord.cs
- NotCondition.cs
- DataGridViewMethods.cs
- MatrixAnimationBase.cs
- SchemaSetCompiler.cs
- DirtyTextRange.cs
- XmlSigningNodeWriter.cs
- ScriptDescriptor.cs
- RegisteredScript.cs
- PackageFilter.cs
- Int32Animation.cs
- LoginCancelEventArgs.cs
- XmlSchemaInclude.cs
- ByteAnimation.cs
- ErasingStroke.cs
- BamlTreeNode.cs
- LoadItemsEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- CursorConverter.cs
- ChannelCredentials.cs
- DateTimeConstantAttribute.cs
- DataControlFieldCollection.cs
- HWStack.cs
- VectorAnimationUsingKeyFrames.cs
- TypeInitializationException.cs
- GenericsInstances.cs
- SafeNativeMethods.cs
- formatter.cs
- SqlDelegatedTransaction.cs
- MissingMemberException.cs
- DrawingContextDrawingContextWalker.cs
- CheckBoxAutomationPeer.cs
- CreateParams.cs
- AbstractDataSvcMapFileLoader.cs
- MethodBody.cs
- NaturalLanguageHyphenator.cs
- X509ServiceCertificateAuthenticationElement.cs
- XmlSchemaException.cs
- LinqDataSource.cs
- ComponentGuaranteesAttribute.cs
- SvcMapFileLoader.cs
- PrivilegeNotHeldException.cs
- KeyMatchBuilder.cs
- DesignerLoader.cs
- NumberSubstitution.cs
- Speller.cs
- RecordConverter.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- HttpCapabilitiesEvaluator.cs