mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 14:46:20 +08:00
Update release
This commit is contained in:
@@ -764,18 +764,32 @@ Closures
|
||||
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
|
||||
{
|
||||
this->__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr);
|
||||
this->__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>();
|
||||
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_opened_ = false;
|
||||
this->__vwsn_bind_closed_ = false;
|
||||
}
|
||||
|
||||
void __vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
|
||||
{
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
|
||||
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
|
||||
}
|
||||
|
||||
void __vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
|
||||
{
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, ::vl::Func<void()>(this, &__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
|
||||
void __vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0()
|
||||
{
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
@@ -786,7 +800,9 @@ Closures
|
||||
{
|
||||
(__vwsn_bind_opened_ = true);
|
||||
(__vwsn_bind_cache_0 = [&](){ try{ return __vwsnthis_0->self; } catch(...){ return static_cast<::demo::AccountButtonTemplate*>(nullptr); } }());
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_0_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, ::vl::Func<void()>(this, &__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, ::vl::Func<void()>(this, &__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -812,8 +828,15 @@ Closures
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, __vwsn_bind_handler_0_0);
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr));
|
||||
(__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>());
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -825,18 +848,32 @@ Closures
|
||||
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
|
||||
{
|
||||
this->__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr);
|
||||
this->__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>();
|
||||
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_opened_ = false;
|
||||
this->__vwsn_bind_closed_ = false;
|
||||
}
|
||||
|
||||
void __vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
|
||||
{
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel().Obj())->GetName(); } catch(...){ return ::vl::WString(L"", false); } }();
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->GetName(); } catch(...){ return ::vl::WString(L"", false); } }();
|
||||
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
|
||||
}
|
||||
|
||||
void __vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
|
||||
{
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->NameChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->NameChanged, ::vl::Func<void()>(this, &__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
|
||||
void __vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0()
|
||||
{
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
@@ -847,7 +884,9 @@ Closures
|
||||
{
|
||||
(__vwsn_bind_opened_ = true);
|
||||
(__vwsn_bind_cache_0 = [&](){ try{ return __vwsnthis_0->self; } catch(...){ return static_cast<::demo::AccountButtonTemplate*>(nullptr); } }());
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_0_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, ::vl::Func<void()>(this, &__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->NameChanged, ::vl::Func<void()>(this, &__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -873,8 +912,15 @@ Closures
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, __vwsn_bind_handler_0_0);
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->NameChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr));
|
||||
(__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>());
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -1008,18 +1054,32 @@ Closures
|
||||
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
|
||||
{
|
||||
this->__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr);
|
||||
this->__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>();
|
||||
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_opened_ = false;
|
||||
this->__vwsn_bind_closed_ = false;
|
||||
}
|
||||
|
||||
void __vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
|
||||
{
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
|
||||
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
|
||||
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
|
||||
}
|
||||
|
||||
void __vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
|
||||
{
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, ::vl::Func<void()>(this, &__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
|
||||
void __vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0()
|
||||
{
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
@@ -1030,7 +1090,9 @@ Closures
|
||||
{
|
||||
(__vwsn_bind_opened_ = true);
|
||||
(__vwsn_bind_cache_0 = [&](){ try{ return __vwsnthis_0->self; } catch(...){ return static_cast<::demo::AccountButtonTemplate*>(nullptr); } }());
|
||||
(__vwsn_bind_cache_1 = [&](){ try{ return ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetViewModel(); } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_0_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, ::vl::Func<void()>(this, &__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
(__vwsn_bind_handler_1_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, ::vl::Func<void()>(this, &__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -1056,8 +1118,15 @@ Closures
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ViewModelChanged, __vwsn_bind_handler_0_0);
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
if (static_cast<bool>(__vwsn_bind_handler_1_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1.Obj())->ImageChanged, __vwsn_bind_handler_1_0);
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_0 = static_cast<::demo::AccountButtonTemplate*>(nullptr));
|
||||
(__vwsn_bind_cache_1 = ::vl::Ptr<::demo::AccountButtonViewModel>());
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -1129,21 +1198,30 @@ Closures
|
||||
__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::AccountMenuItemTemplateConstructor* __vwsnctorthis_0)
|
||||
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
|
||||
{
|
||||
this->__vwsn_bind_cache_0 = ::vl::Ptr<::demo::AccountButtonViewModel>();
|
||||
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
|
||||
this->__vwsn_bind_opened_ = false;
|
||||
this->__vwsn_bind_closed_ = false;
|
||||
}
|
||||
|
||||
void __vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
|
||||
{
|
||||
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->ViewModel.Obj())->GetName();
|
||||
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0.Obj())->GetName();
|
||||
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
|
||||
}
|
||||
|
||||
void __vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
|
||||
{
|
||||
this->__vwsn_bind_activator_();
|
||||
}
|
||||
|
||||
bool __vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
|
||||
{
|
||||
if ((! __vwsn_bind_opened_))
|
||||
{
|
||||
(__vwsn_bind_opened_ = true);
|
||||
(__vwsn_bind_cache_0 = [&](){ try{ return __vwsnthis_0->ViewModel; } catch(...){ return ::vl::Ptr<::demo::AccountButtonViewModel>(); } }());
|
||||
(__vwsn_bind_handler_0_0 = [&](){ try{ return ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0.Obj())->NameChanged, ::vl::Func<void()>(this, &__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)); } catch(...){ return ::vl::Ptr<::vl::reflection::description::IEventHandler>(); } }());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -1164,6 +1242,13 @@ Closures
|
||||
if ((! __vwsn_bind_closed_))
|
||||
{
|
||||
(__vwsn_bind_closed_ = true);
|
||||
if (static_cast<bool>(__vwsn_bind_handler_0_0))
|
||||
{
|
||||
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0.Obj())->NameChanged, __vwsn_bind_handler_0_0);
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
}
|
||||
(__vwsn_bind_cache_0 = ::vl::Ptr<::demo::AccountButtonViewModel>());
|
||||
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -2027,7 +2112,11 @@ Class (::demo::AccountButtonViewModel)
|
||||
|
||||
void AccountButtonViewModel::SetController(::vl::presentation::controls::GuiSelectableButton::GroupController* __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Controller = __vwsn_value_);
|
||||
if ((this->__vwsn_prop_Controller != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_Controller = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->ControllerChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::WString AccountButtonViewModel::GetName()
|
||||
@@ -2037,7 +2126,11 @@ Class (::demo::AccountButtonViewModel)
|
||||
|
||||
void AccountButtonViewModel::SetName(const ::vl::WString& __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Name = __vwsn_value_);
|
||||
if ((this->__vwsn_prop_Name != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_Name = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->NameChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::presentation::INativeImage> AccountButtonViewModel::GetImage()
|
||||
@@ -2047,7 +2140,11 @@ Class (::demo::AccountButtonViewModel)
|
||||
|
||||
void AccountButtonViewModel::SetImage(::vl::Ptr<::vl::presentation::INativeImage> __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Image = __vwsn_value_);
|
||||
if ((this->__vwsn_prop_Image.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_Image = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->ImageChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
AccountButtonViewModel::AccountButtonViewModel()
|
||||
|
||||
@@ -324,16 +324,19 @@ namespace demo
|
||||
public:
|
||||
::vl::presentation::controls::GuiSelectableButton::GroupController* GetController();
|
||||
void SetController(::vl::presentation::controls::GuiSelectableButton::GroupController* __vwsn_value_);
|
||||
::vl::Event<void()> ControllerChanged;
|
||||
private:
|
||||
::vl::WString __vwsn_prop_Name;
|
||||
public:
|
||||
::vl::WString GetName();
|
||||
void SetName(const ::vl::WString& __vwsn_value_);
|
||||
::vl::Event<void()> NameChanged;
|
||||
private:
|
||||
::vl::Ptr<::vl::presentation::INativeImage> __vwsn_prop_Image;
|
||||
public:
|
||||
::vl::Ptr<::vl::presentation::INativeImage> GetImage();
|
||||
void SetImage(::vl::Ptr<::vl::presentation::INativeImage> __vwsn_value_);
|
||||
::vl::Event<void()> ImageChanged;
|
||||
AccountButtonViewModel();
|
||||
};
|
||||
|
||||
@@ -662,11 +665,14 @@ Closures
|
||||
__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::AccountButtonTemplateConstructor* __vwsnctorthis_0);
|
||||
|
||||
::demo::AccountButtonTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_bind_cache_1;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_1_0;
|
||||
bool __vwsn_bind_opened_ = false;
|
||||
bool __vwsn_bind_closed_ = false;
|
||||
void __vwsn_bind_activator_();
|
||||
void __vwsn_bind_callback_0_0();
|
||||
void __vwsn_bind_callback_1_0();
|
||||
bool Open() override;
|
||||
bool Update() override;
|
||||
bool Close() override;
|
||||
@@ -680,11 +686,14 @@ Closures
|
||||
__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::AccountButtonTemplateConstructor* __vwsnctorthis_0);
|
||||
|
||||
::demo::AccountButtonTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_bind_cache_1;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_1_0;
|
||||
bool __vwsn_bind_opened_ = false;
|
||||
bool __vwsn_bind_closed_ = false;
|
||||
void __vwsn_bind_activator_();
|
||||
void __vwsn_bind_callback_0_0();
|
||||
void __vwsn_bind_callback_1_0();
|
||||
bool Open() override;
|
||||
bool Update() override;
|
||||
bool Close() override;
|
||||
@@ -734,11 +743,14 @@ Closures
|
||||
__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::AccountButtonTemplateConstructor* __vwsnctorthis_0);
|
||||
|
||||
::demo::AccountButtonTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_bind_cache_1;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_1_0;
|
||||
bool __vwsn_bind_opened_ = false;
|
||||
bool __vwsn_bind_closed_ = false;
|
||||
void __vwsn_bind_activator_();
|
||||
void __vwsn_bind_callback_0_0();
|
||||
void __vwsn_bind_callback_1_0();
|
||||
bool Open() override;
|
||||
bool Update() override;
|
||||
bool Close() override;
|
||||
@@ -769,9 +781,12 @@ Closures
|
||||
|
||||
__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::AccountMenuItemTemplateConstructor* __vwsnctorthis_0);
|
||||
|
||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_bind_cache_0;
|
||||
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||
bool __vwsn_bind_opened_ = false;
|
||||
bool __vwsn_bind_closed_ = false;
|
||||
void __vwsn_bind_activator_();
|
||||
void __vwsn_bind_callback_0_0();
|
||||
bool Open() override;
|
||||
bool Update() override;
|
||||
bool Close() override;
|
||||
|
||||
@@ -79,12 +79,15 @@ namespace vl
|
||||
CLASS_MEMBER_METHOD(SetController, { L"__vwsn_value_" })
|
||||
CLASS_MEMBER_METHOD(SetImage, { L"__vwsn_value_" })
|
||||
CLASS_MEMBER_METHOD(SetName, { L"__vwsn_value_" })
|
||||
CLASS_MEMBER_EVENT(ControllerChanged)
|
||||
CLASS_MEMBER_EVENT(ImageChanged)
|
||||
CLASS_MEMBER_EVENT(NameChanged)
|
||||
CLASS_MEMBER_FIELD(__vwsn_prop_Controller)
|
||||
CLASS_MEMBER_FIELD(__vwsn_prop_Image)
|
||||
CLASS_MEMBER_FIELD(__vwsn_prop_Name)
|
||||
CLASS_MEMBER_PROPERTY(Controller, GetController, SetController)
|
||||
CLASS_MEMBER_PROPERTY(Image, GetImage, SetImage)
|
||||
CLASS_MEMBER_PROPERTY(Name, GetName, SetName)
|
||||
CLASS_MEMBER_PROPERTY_EVENT(Controller, GetController, SetController, ControllerChanged)
|
||||
CLASS_MEMBER_PROPERTY_EVENT(Image, GetImage, SetImage, ImageChanged)
|
||||
CLASS_MEMBER_PROPERTY_EVENT(Name, GetName, SetName, NameChanged)
|
||||
END_CLASS_MEMBER(::demo::AccountButtonViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::AccountItemTemplate)
|
||||
|
||||
Reference in New Issue
Block a user