|
IRLANDIA - Forum na każdy temat
|
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
aJ5dY4aD9y User++
Dołączył: 09 Maj 2014 Posty: 156
|
Wysłany: Wto Maj 13, 2014 01:56 Temat postu: wow gold Why doesnt interface inheritance work when writing |
|
|
// stuff specific only to IPersistpublic interface IPersistFolder : IPersist { // stuff specific only to IPersistFolder Does work: public interface IPersistFolder // stuff specific to IPersist only // stuff specific to IPersistFolder only The article notes this fact: Lo and behold, it worked! Notice that I've abandoned any idea that IPersistFolder is inherited from anything at all and just included the stubs from IPersist right in its definition. In all candor, I can't tell you why this is but it definitely works just fine and shouldn't give you any problems. <a>wow gold</a> <a>wow gold</a> So my I'll ask the question this guy didn't know; why didn't the original code work? xboter 2014 |
|
Powrót do góry |
|
|
Reklama
|
Wysłany: Wto Maj 13, 2014 01:56 Temat postu: |
|
|
|
|
Powrót do góry |
|
|
|
|
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|
|