CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
web_service_binding_attribute.h
1
2#pragma once
3#include <system/attribute.h>
4#include <system/shared_ptr.h>
5#include <system/string.h>
6
7namespace System { namespace Web { namespace Services {
8
9class WsiProfiles;
10
15class ASPOSECPP_SHARED_CLASS WebServiceBindingAttribute final : public System::Attribute
16{
21
23 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
25 ASPOSECPP_SHARED_RTTI_INFO_DECL();
26
27public:
30 ASPOSECPP_SHARED_API String get_Location();
33 ASPOSECPP_SHARED_API void set_Location(String value);
36 ASPOSECPP_SHARED_API String get_Name();
39 ASPOSECPP_SHARED_API void set_Name(String value);
42 ASPOSECPP_SHARED_API String get_Namespace();
45 ASPOSECPP_SHARED_API void set_Namespace(String value);
48 ASPOSECPP_SHARED_API bool get_EmitConformanceClaims();
51 ASPOSECPP_SHARED_API void set_EmitConformanceClaims(bool value);
57 ASPOSECPP_SHARED_API void set_ConformsTo(System::SharedPtr<WsiProfiles> value);
58
60 ASPOSECPP_SHARED_API WebServiceBindingAttribute();
63 ASPOSECPP_SHARED_API WebServiceBindingAttribute(String name);
67 ASPOSECPP_SHARED_API WebServiceBindingAttribute(String name, String ns);
72 ASPOSECPP_SHARED_API WebServiceBindingAttribute(String name, String ns, String location);
73
74private:
76 String location;
78 String name;
80 String ns;
82 bool emitConformanceClaims;
85};
86
87}}} // namespace System::Web::Services
A base class for custom attributes. Objects of this class should only be allocated using System::Make...
Definition: attribute.h:16
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Used to declare a binding that defines one or more methods of the XML Web service....
Definition: web_service_binding_attribute.h:16
String get_Name()
Gets the binding's name.
System::SharedPtr< WsiProfiles > get_ConformsTo()
Gets the WSI specification.
void set_ConformsTo(System::SharedPtr< WsiProfiles > value)
Sets the WSI specification.
bool get_EmitConformanceClaims()
Gets a value that indicates if the binding emits conformance claims.
void set_EmitConformanceClaims(bool value)
Sets a value that indicates if the binding emits conformance claims.
void set_Location(String value)
Sets the location where the binding is defined.
WebServiceBindingAttribute()
Constructs a new instance.
String get_Namespace()
Gets the namespace that is associated with the binding.
WebServiceBindingAttribute(String name, String ns)
Constructs a new instance.
WebServiceBindingAttribute(String name)
Constructs a new instance.
WebServiceBindingAttribute(String name, String ns, String location)
Constructs a new instance.
String get_Location()
Gets the location where the binding is defined.
void set_Namespace(String value)
Sets the namespace that is associated with the binding.
void set_Name(String value)
Sets the binding's name.
Definition: db_command.h:9