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(); } }
public NotNakedClass(IBareIt naked, IScribe scribe) { this.Mapper = new Mapper <IBareIt, IScribe>(naked, scribe); }