serviceCollection.AddSingleton<IWebProxy, MyWebProxy>();
                  
                  
                  
                  
                  
                                      var _api = new VkApi(serviceCollection);
                  
                  
                  
                  
                  
                  Но что означает данная ошибка?
                  
                  
                  A suitable constructor for type 'VkNet.Utils.MyWebProxy' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.
                  
                  
                
Значит что у конструктора MyWebProxy есть параметры и контейнер не знает что в них передать
Обсуждают сегодня