Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Dummy  d  = new Dummy();
            IFucs  i1 = (IFucs)d;
            IFuncs i2 = (IFuncs)d;

            i1.Func1();
            i1.Func
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public Resolver(ISamplesParser samplesParser, IFuncs funcs)
 {
     this.samplesParser = samplesParser;
     this.funcs         = funcs;
 }