concreteclass Questions

13

I have a list of objects implementing an interface, and a list of that interface: public interface IAM { int ID { get; set; } void Save(); } public class concreteIAM : IAM { public int ID { ge...
Censurable asked 15/12, 2008 at 4:13

2

*EDIT: To answer my own question, I had to add EditorViewModel as an import to the parent abstract class in the outer layout, and cast the viewModel to the parent class using app:viewModel="@{((Edi...

3

I have the following class, which uses constructor injection: public class Service : IService { public Service(IRepository repository, IProvider provider) { ... } } For most methods in this cla...
Calley asked 18/4, 2014 at 14:47

1

Solved

I'm learning iOS development right now and I came across concrete and abstract class. What are the difference between these class. I've searched online but they're in other languages not in Objecti...
Acarpous asked 5/5, 2014 at 4:14

4

Solved

In general scenario, the interface or abstract class is often the appropriate decision, am I right? But in some cases, it looks like the concrete class is better. For instance, public string Repl...
Partizan asked 7/3, 2012 at 9:3
1

© 2022 - 2024 — McMap. All rights reserved.