public AccountRestCaller(AuctionHubRestClient client) : base(client)
 {
 }
示例#2
0
 public BackendRestCaller(AuctionHubRestClient httpClient)
 {
     client = httpClient;
 }
 public static void Register(IServiceCollection services)
 {
     services.AddSingleton(typeof(AuctionHubRestClient), AuctionHubRestClient.Create());
     services.AddSingleton <IAccountRestCaller, AccountRestCaller>();
 }