Exemple #1
0
        public bool Save(ISaveable <T> saveable, string fileName = DEFAULT_FILE_NAME)
        {
            if (saveable == null)
            {
                throw new ArgumentNullException(nameof(saveable));
            }

            return(Save(saveable.CreateSaveData(), fileName));
        }