c# - Force the usage of a Method, by the interface - Stack ...
2020-9-8 · Force the usage of a Method, by the interface. Given an interface, that should be Init to Run. Initialisation code must be run. Initialisation is two part: one that depend of the configuration, one that do not. The configurable one must be calling the other one if he does not want to duplicate that code. public interface IProcess { bool Init ...
Get Price