static void Main(string[] args) { Dummy d = new Dummy(); IFucs i1 = (IFucs)d; IFuncs i2 = (IFuncs)d; i1.Func1(); i1.Func }
public Command(IYamlParser yamlParser, IJsonParser jsonParser, IResolver resolver, IFormatter formatter, IFuncs funcs, ISimulator simulator) { this.yamlParser = yamlParser; this.jsonParser = jsonParser; this.resolver = resolver; this.formatter = formatter; this.funcs = funcs; this.simulator = simulator; IsAdminMode = false; }
public MenusController( IFuncs funcs, IMenuRepository repository, IUnitOfWork unitOfWork, IWebHostEnvironment webHostEnvironment ) { this.funcs = funcs; this.repository = repository; this.unitOfWork = unitOfWork; this.webHostEnvironment = webHostEnvironment; uploadDirectory = Path.Combine(webHostEnvironment.WebRootPath, imageDirectory); }
public Resolver(ISamplesParser samplesParser, IFuncs funcs) { this.samplesParser = samplesParser; this.funcs = funcs; }