Protected members
public abstract class ServiceBase
{
protected abstract void Step1();
protected abstract void Step2(string value);
protected abstract int Count { get; set; }
public void DoSomething(string value)
{
Step1();
Step2(value);
}
}Configuring members by name
Configuring members using a mapping type
Last updated
Was this helpful?