if (!m_Properties) {
m_Properties = make_shared<Dictionary>();
m_Properties->Set("type", m_Type);
- m_Properties->Set("name", m_Name);
m_Properties->Set("__parent", m_Scope);
GetExpressionList()->Evaluate(m_Properties);
- m_Properties->Remove("name");
m_Properties->Remove("__parent");
String name = m_Name;
}
}
+ if (name != m_Name)
+ m_Properties->Set("name", m_Name);
+
m_Properties->Set("__name", name);
VERIFY(m_Properties->Get("type") == GetType());
%attribute %name(Host) "host_name",
%attribute %string "service_name",
+ %attribute %string "name",
+
%attribute %array "users" {
%attribute %name(User) "*"
},
%attribute %name(Host) "host_name",
%attribute %string "service_name",
+ %attribute %string "name",
+
%require "author",
%attribute %string "author",
%attribute %name(Host) "child_host_name",
%attribute %string "child_service_name",
+ %attribute %string "name",
+
%attribute %name(TimePeriod) "period",
%attribute %number "state_filter",