public ApiClient(IMy myService, IThis thisService, IUsersDirectory usersService, ICompaniesDirectory companiesService, IServicesDirectory servicesApi, IDataContainerService dataContainerService, IServiceProvider serviceLocator)
 {
     _myService        = myService;
     _thisService      = thisService;
     _usersService     = usersService;
     _companiesService = companiesService;
     _servicesApi      = servicesApi;
     _serviceLocator   = serviceLocator;
     Directory         = new Directory(_usersService, _companiesService, _servicesApi, dataContainerService, _serviceLocator);
 }
 static void TestThisOrOther(IThis <IOther> param)
 {
     param.doThis();
     param.Self.doOther();
 }
 static void TestThisOrThat(IThis <IThat> param)
 {
     param.doThis();
     param.Self.doThat();
 }