示例#1
0
 private void Dispose(bool disposing)
 {
     if (!_disposed && disposing)
     {
         if (_restClient != null)
         {
             var mc = _restClient;
             _restClient = null;
             mc.Dispose();
         }
         _disposed = true;
     }
 }
示例#2
0
 public ProjectClientService()
 {
     projectClient = new GenericRestfulCrudHttpClient <ProjectDto, string>("https://localhost:44348", "");
 }
示例#3
0
 public BaseRepository(bool isAccessTokenRequired)
 {
     _restClient = new GenericRestfulCrudHttpClient <T>(_baseUrl, isAccessTokenRequired);
 }