internal static void SetupFolderIfNotExists(string name) { if (!Directory.Exists(GetFolder(name))) { SetupFolder(ButlerFactory.CreateDefaultButler(name, name, name), Resources.EmotionalJ_feel); } }
internal static Butler Load(string name) { Butler butler; if (Directory.Exists(GetFolder(name))) { string butlerSettingFile = GetSettingFile(name); butler = LoadButler(name, butlerSettingFile); } else { butler = ButlerFactory.CreateDefaultButler(name, name, name); } InitializeAppearances(butler, GetFolder(name)); return(butler); }