3#include <system/scope_guard.h>
4#include <system/object_ext.h>
5#include <system/details/pointer_collection_helpers.h>
6#include <system/details/patterns.h>
9#include "system/text/json/serialization/metadata/json_parameter_info.h"
10#include "system/text/json/serialization/metadata/json_parameter_info_values.h"
20template <
typename>
class JsonConverter;
23class JsonParameterInfoValues;
24template <
typename>
class JsonPropertyInfo;
47 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48 RTTI_INFO_TEMPLATE_CLASS(
ThisType, ThisTypeBaseTypesInfo);
59 return pr_MatchingProperty;
64 return pr_EffectiveDefaultValue;
70 System::Details::ThisProtector __local_self_ref(
this);
75 pr_EffectiveDefaultValue = System::ExplicitCast<T>(defaultValue);
78 pr_MatchingProperty = matchingPropertyInfo;
79 System::Text::Json::Serialization::Metadata::JsonParameterInfoBase::init_EffectiveDefaultValue(System::ExplicitCast<System::Object>(
get_EffectiveDefaultValue()));
84 ASPOSE_UNUSED(argument);
89 #ifdef ASPOSE_GET_SHARED_MEMBERS
90 void GetSharedMembers(System::Object::shared_members_type& result)
const override
92 JsonParameterInfoBase::GetSharedMembers(result);
94 result.Add(
"System::Text::Json::Serialization::Metadata::JsonParameterInfoBase::pr_MatchingProperty", this->pr_MatchingProperty);
95 result.Add(
"System::Text::Json::Serialization::Metadata::JsonParameterInfoBase::pr_EffectiveDefaultValue", this->pr_EffectiveDefaultValue);
102 T pr_EffectiveDefaultValue;
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: json_parameter_info.h:49
Definition: json_parameter_info_of_t.h:43
T get_EffectiveDefaultValue()
Definition: json_parameter_info_of_t.h:62
System::SharedPtr< JsonConverter< T > > get_EffectiveConverter()
Definition: json_parameter_info_of_t.h:52
void SetTemplateWeakPtr(uint32_t argument) override
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containe...
Definition: json_parameter_info_of_t.h:82
System::SharedPtr< JsonPropertyInfo< T > > get_MatchingProperty()
Definition: json_parameter_info_of_t.h:57
JsonParameterInfo(System::SharedPtr< JsonParameterInfoValues > parameterInfoValues, System::SharedPtr< JsonPropertyInfo< T > > matchingPropertyInfo)
Definition: json_parameter_info_of_t.h:67
bool get_HasDefaultValue()
System::SharedPtr< Object > get_DefaultValue()
Definition: json_property_info_of_t.h:69
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9