Code: Select all
class MyClass
{
MyProp
{
set
{
; Here I want some logic (very important)
; then set the value to this MyProp
return this.MyProp := value
}
}
}
Code: Select all
class MyClass
{
MyProp
{
set
{
; Here I want some logic (very important)
; then set the value to this MyProp
return this.MyProp := value
}
}
}
Code: Select all
class MyClass
{
_MyProp := 'some default value'
MyProp
{
set
{
; Here I want some logic (very important)
; then set the value to this MyProp
return this._MyProp := value
}
}
}