Esempio n. 1
0
        public void WriteState(BrewProfile profile)
        {
            if (profile == null)
            {
                return;
            }

            var profileArray = ProfileWriter.Write(profile);

            if (profileArray != null)
            {
                File.WriteAllBytes(_path, profileArray);
            }
        }
Esempio n. 2
0
 public BrewLogic(BrewProfile profile)
 {
     _profile = profile;
 }