2
속성이 적용된 속성이 있습니다. 속성 getter 또는 setter 내부에서 속성에 액세스하려면 어떻게해야합니까?속성 내부의 액세스 속성
class Person {
[ID("A","B")]
public Address HomeAddress
{
get
{
// Get values A and B here ?
}
set { }
}
}
정말 어떻게되는지 알지 못합니다.
감사
왜 당신이 어떻게해야합니까이 코드를 시도 할 수 있습니다? –
http://stackoverflow.com/questions/4689361/how-to-get-attribute-on-property-in-property-get-or-set-body이 질문을 참조하십시오 –
달성하려는 것은 무엇입니까? – DarthVader