public virtual AdamManager Init(IContextOfApp ctx, int compatibility, ILog parentLog) { Log.LinkTo(parentLog); AppContext = ctx; var callLog = Log.Call(); Site = AppContext.Site; AppRuntime.Init(AppContext.AppState, AppContext.UserMayEdit, null); CompatibilityLevel = compatibility; callLog("ready"); return(this); }