PropertyInfo()
PropertyInfo::PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const) constructor
Constructor. Property with only const getter.
template<class PropertyType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, System::SharedPtr<PropertyType>(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
get_prop_method | System::SharedPtr<PropertyType>(ClassType::*)() const | Getter method. |
PropertyInfo::PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)()) constructor
Constructor. Property with only non-const getter.
template<class PropertyType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, System::SharedPtr<PropertyType>(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
get_prop_method | System::SharedPtr<PropertyType>(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const) constructor
Constructor.
template<class PropertyType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::SharedPtr<PropertyType>) | Setter method. |
get_prop_method | System::SharedPtr<PropertyType>(ClassType::*)() const | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)()) constructor
Constructor. Nullable property with setter and getter.
template<class NullableType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::Nullable<NullableType>) | Setter method. |
get_prop_method | System::Nullable<NullableType>(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const) constructor
Constructor. Nullable property with const getter only.
template<class NullableType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::Nullable<NullableType>) | Setter method. |
get_prop_method | System::Nullable<NullableType>(ClassType::*)() const | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)()) constructor
Constructor. Object property with getter only.
template<class PropertyType,typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
PropertyType | Type of the property. |
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::SharedPtr<PropertyType>) | Setter method. |
get_prop_method | System::SharedPtr<PropertyType>(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)()) constructor
Constructs string property information.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::String), System::String(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::String) | Setter method. |
get_prop_method | System::String(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const) constructor
Constructs string property information from class with const getter.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::String), System::String(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(System::String) | Setter method. |
get_prop_method | System::String(ClassType::*)() const | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)()) constructor
Constructs Decimal property information.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::Decimal), System::Decimal(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
PropertyInfo::PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const) constructor
Constructs Decimal property information from class with const getter.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(System::Decimal), System::Decimal(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
PropertyInfo::PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)()) constructor
Constructs boolean property information.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(bool), bool(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(bool) | Setter method. |
get_prop_method | bool(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const) constructor
Constructs boolean property information from class with const getter.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(bool), bool(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(bool) | Setter method. |
get_prop_method | bool(ClassType::*)() const | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)()) constructor
Constructs int64_t property information.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(int64_t), int64_t(ClassType::*get_prop_method)())
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(int64_t) | Setter method. |
get_prop_method | int64_t(ClassType::*)() | Getter method. |
PropertyInfo::PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const) constructor
Constructs int64_t property information from class with const getter.
template<typename ClassType> System::Reflection::PropertyInfo::PropertyInfo(String name, void(ClassType::*set_prop_method)(int64_t), int64_t(ClassType::*get_prop_method)() const)
Template parameters
Parameter | Description |
---|
ClassType | Type of the class the property belongs to. |
Arguments
Parameter | Type | Description |
---|
name | String | Property name. |
set_prop_method | void(ClassType::*)(int64_t) | Setter method. |
get_prop_method | int64_t(ClassType::*)() const | Getter method. |
See Also