class parseConfig
{
        string dbname;
        string dbuser;
        string dbpass;
        string dbhost;
        string dbport;
        uint status;

this()
        {
        
auto checkLinkCode(string link) // we need to check all links to be sure if they are alive
{
....
        return status;
}
.............
        if (checkLinkCode(emsc_csem) == 200)
        {
auto seismodownload = new seismoDownload(emsc_csem, this); //here
                seismodownload.parse();
        }

                
}
}


I know that in С# I can pass to function, and this would be point of class from where it's call (Here is parseConfig). Is it's possible to do something similar in D?

Reply via email to