//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Web.Services.Protocols { using System; using System.Web.Services.Description; /// /// /// [To be supplied.] /// [AttributeUsage(AttributeTargets.Method)] public sealed class SoapDocumentMethodAttribute : System.Attribute { string action; string requestName; string responseName; string requestNamespace; string responseNamespace; bool oneWay; SoapBindingUse use = SoapBindingUse.Default; SoapParameterStyle style = SoapParameterStyle.Default; string binding; /// /// /// [To be supplied.] /// public SoapDocumentMethodAttribute() { } /// /// /// [To be supplied.] /// public SoapDocumentMethodAttribute(string action) { this.action = action; } /// /// /// [To be supplied.] /// public string Action { get { return action; } set { action = value; } } /// /// /// [To be supplied.] /// public bool OneWay { get { return oneWay; } set { oneWay = value; } } /// /// /// [To be supplied.] /// public string RequestNamespace { get { return requestNamespace; } set { requestNamespace = value; } } /// /// /// [To be supplied.] /// public string ResponseNamespace { get { return responseNamespace; } set { responseNamespace = value; } } /// /// /// [To be supplied.] /// public string RequestElementName { get { return requestName == null ? string.Empty : requestName; } set { requestName = value; } } /// /// /// [To be supplied.] /// public string ResponseElementName { get { return responseName == null ? string.Empty : responseName; } set { responseName = value; } } /// /// /// [To be supplied.] /// public SoapBindingUse Use { get { return use; } set { use = value; } } /// /// /// [To be supplied.] /// public SoapParameterStyle ParameterStyle { get { return style; } set { style = value; } } /// /// /// [To be supplied.] /// public string Binding { get { return binding == null ? string.Empty : binding; } set { binding = value; } } } }