1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
//------------------------------------------------------------------------------
// <copyright file="SoapDocumentMethodAttribute.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.Services.Protocols {
using System;
using System.Web.Services.Description;
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
[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;
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.SoapDocumentMethodAttribute"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public SoapDocumentMethodAttribute() {
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.SoapDocumentMethodAttribute1"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public SoapDocumentMethodAttribute(string action) {
this.action = action;
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.Action"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string Action {
get { return action; }
set { action = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.OneWay"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public bool OneWay {
get { return oneWay; }
set { oneWay = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.RequestNamespace"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string RequestNamespace {
get { return requestNamespace; }
set { requestNamespace = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.ResponseNamespace"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string ResponseNamespace {
get { return responseNamespace; }
set { responseNamespace = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.RequestElementName"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string RequestElementName {
get { return requestName == null ? string.Empty : requestName; }
set { requestName = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.ResponseElementName"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string ResponseElementName {
get { return responseName == null ? string.Empty : responseName; }
set { responseName = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.Use"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public SoapBindingUse Use {
get { return use; }
set { use = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.ParameterStyle"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public SoapParameterStyle ParameterStyle {
get { return style; }
set { style = value; }
}
/// <include file='doc\SoapDocumentMethodAttribute.uex' path='docs/doc[@for="SoapDocumentMethodAttribute.Binding"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string Binding {
get { return binding == null ? string.Empty : binding; }
set { binding = value; }
}
}
}
|