property

  1. D

    Nested Properties

    Hey guys! I'm using VB.net and I would want to have "property properties" of a class like this: Thing.Property1 = "Yo!" (*1) Thing.Property1.AnotherThing = 0 Thing.Property1.AnotherThing2 = True I understand I can use 'property Property1 as class' but if I do that, Property1 must get or set a...
  2. D

    Intercept property getter call ?

    Hello people, nice forum and nice contents. I am new to .net and hope to get some help in order to do this : Saying we havec a ClassA within a method called DoWorkWhenPropertyGetterIsCalled. A ClassB inherits form ClassA and define lets say two properties ProBA binded to a private mA field and...
Back
Top