0
I have a solution where contains 2 projects.
One of them is the project I pulled from github, so I don’t want to modify it because every time I upgrade I will lose my settings.
In this project there is a class called:
public class Cielo
{
String sendHttpRequest (String message)
{
//Quero q toda vez que o sistema chamar esse metódio chame um código meu, ex:
//var gravaXML = new SalvaXML();
//gravaXML.GravarFisicamente(message);
}
}
But I want to inject this function through my 2nd project, I don’t want to modify the ready-made project coming from git. Exists as?
could put a very generic example?
– Dorathoto
this #include <projectExtern/PATH filename/File. H is C# ?
– Dorathoto
but only one question,the other object should no longer call the Cielo base class but my Mycielo Class which inherits all methods from Cielo and adds a new function?
– Dorathoto
That’s right... you use Mycielo instead of Cielo.
– Rodrigo Guiotti