CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
transfer_coding_with_quality_header_value.h
1
2#pragma once
3
4#include <system/nullable.h>
5#include <net/http/headers/transfer_coding_header_value.h>
6
7namespace System { namespace Net { namespace Http { namespace Headers {
8
13class ASPOSECPP_SHARED_CLASS TransferCodingWithQualityHeaderValue final
15{
20
22 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
24 ASPOSECPP_SHARED_RTTI_INFO_DECL();
25
26public:
29 ASPOSECPP_SHARED_API Nullable<double> get_Quality();
32 ASPOSECPP_SHARED_API void set_Quality(Nullable<double> value);
33
38 ASPOSECPP_SHARED_API TransferCodingWithQualityHeaderValue(String value);
42 ASPOSECPP_SHARED_API TransferCodingWithQualityHeaderValue(String value, double quality);
43
52 ASPOSECPP_SHARED_API static bool TryParse(String input, System::SharedPtr<TransferCodingWithQualityHeaderValue>& parsedValue);
53
54private:
58 MEMBER_FUNCTION_MAKE_OBJECT(TransferCodingWithQualityHeaderValue, CODEPORTING_ARGS(System::SharedPtr<TransferCodingWithQualityHeaderValue> source), CODEPORTING_ARGS(source));
59
61 System::SharedPtr<Object> Clone() override;
62};
63
64}}}} // namespace System::Net::Http::Headers
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:16
Represents a value of the 'Accept-Encoding' header. Objects of this class should only be allocated us...
Definition: transfer_coding_header_value.h:18
Represents a value with an additional quality of the 'Accept-Encoding' header. Objects of this class ...
Definition: transfer_coding_with_quality_header_value.h:15
static bool TryParse(String input, System::SharedPtr< TransferCodingWithQualityHeaderValue > &parsedValue)
Tries to convert a passed string to an instance of the TransferCodingWithQualityHeaderValue class.
TransferCodingWithQualityHeaderValue(String value)
Constructs a new instance.
TransferCodingWithQualityHeaderValue(String value, double quality)
Constructs a new instance.
Nullable< double > get_Quality()
Gets the quality value of the 'Accept-Encoding' header.
static System::SharedPtr< TransferCodingWithQualityHeaderValue > Parse(String input)
Converts a passed string to an instance of the TransferCodingWithQualityHeaderValue class.
void set_Quality(Nullable< double > value)
Sets the quality value of the 'Accept-Encoding' header.
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
Definition: db_command.h:9