internal StandardBuilder(DBtype type, MusicFolderHelper iPath, ManualSettings ism, Nullable<bool> CDBOOpen) { _Type = type; _Folders = iPath; _FromSetting = (ism == null); _ISM = ism ?? SettingsBuilder.FromUserSetting(); DBCleanOnOpen = CDBOOpen; _NeedToSerialize = true; }
internal StandardBuilder(DBtype type, MusicFolderHelper iPath, ManualSettings ism) : this(type, iPath, ism, true) { }
static internal ISessionBuilder GetSessionBuilder(DBtype iType, ManualSettings ism = null, string RootPath = null) { MusicFolderHelper mfh = new MusicFolderHelper(RootPath); return CreateSessionBuilder(mfh, () => new StandardBuilder(iType, mfh, ism)); }