Exemple #1
0
 public App(ILogger <App> logger, AppSettings settings, IMenu menu, IScribe scribe, IToolbox toolbox)
 {
     _logger   = logger;
     _settings = settings;
     _menu     = menu;
     _scribe   = scribe;
     _toolbox  = toolbox;
 }
        static Remoting()
        {
            if (_scribe == null)
            {
                _channel = new IpcChannel();

                ChannelServices.RegisterChannel(_channel, false);
                _scribe = (IScribe)Activator.GetObject(typeof(IScribe), "ipc://CoAppTraceIpc/Scribe");
                _scribe.Ping();
            }
        }
Exemple #3
0
 public NotNakedClass(IBareIt naked, IScribe scribe)
 {
     this.Mapper = new Mapper <IBareIt, IScribe>(naked, scribe);
 }