예제 #1
0
        public void Interrogate(out string singleValue, out string[] multipleValues)
        {
            singleValue = _singleService.SimpleMethod();

            multipleValues = _multipleServices
                             .Select(x => x.SimpleMethod())
                             .ToArray();
        }
예제 #2
0
 public string LessSimpleMethod()
 {
     return(string.Format("[{0}] {1} {2}", _fakeService.SimpleMethod(), _one, _two));
 }
예제 #3
0
 public string LessSimpleMethod()
 {
     return("[" + _fakeService.SimpleMethod() + "]");
 }