![]() |
|
[C#] How to make Stub and Builder in c#? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] How to make Stub and Builder in c#? (/showthread.php?tid=6019150) |
How to make Stub and Builder in c#? - SIM-3933056 - Oct 24, 2019 do anyone know simple example of stub and builder? RE: How to make Stub and Builder in c#? - MavenGradle - Oct 24, 2019 Your answer can be found here: https://hackforums.net/showthread.php?tid=6017968 More specifically starting from this post to the end: https://hackforums.net/showthread.php?tid=6017968&pid=59072639#pid59072639 Except you'll have to forget about loading the assembly in memory since you'd be compiling to disk. So in essence you have two options. You can use CodeDOM to compile your applications, or Roslyn using the SyntaxTree API. An excellent comparison between the two can be found on stack overflow (do note this comes from a Microsoft employee): https://stackoverflow.com/a/7854697 |