Constructor query

  • Thread starter Thread starter Sems
  • Start date Start date
S

Sems

On a construtor such as...

public Article(ViewModelContext<INewsArticle> context = null) :
base(context) {}

what does the ': base(context)' part mean?
 
On a construtor such as...

public Article(ViewModelContext<INewsArticle> context = null) :
base(context) {}

what does the ': base(context)' part mean?

That the super class'es constructor is called
with context.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top