Пример #1
0
 public IAdamFileSystem <string, string> Init(AdamManager <string, string> adamManager, ILog parentLog)
 {
     Log.LinkTo(parentLog);
     AdamManager = adamManager;
     _adamPaths.Init(adamManager, Log);
     return(this);
 }
Пример #2
0
        public IAdamFileSystem <int, int> Init(AdamManager <int, int> adamContext, ILog parentLog)
        {
            Log.LinkTo(parentLog);
            var wrapLog = Log.Call();

            AdamContext = adamContext;
            _adamPaths.Init(adamContext, Log);
            wrapLog("ok");
            return(this);
        }