public void SampleMethod(IRequiredPrep prep)
 {
     // Remember there is not possibility of having the same method name like this.
     // This is just an example. So don't hard code anything.
     prep.SampleMethod();
 }
示例#2
0
 public void SampleMethod(IRequiredPrep prep)
 {
     prep.SampleMethod();
 }