TalkBot.Util.SaveToDisk C# (CSharp) Method

SaveToDisk() public static method

public static SaveToDisk ( this speechItemList ) : void
speechItemList this
return void
        public static void SaveToDisk(this List<SpeechItem> speechItemList)
        {
            using (Stream s = File.Open (SpeechItemsPath (), FileMode.Create)) {
                BinaryFormatter bf = new BinaryFormatter ();
                bf.Serialize (s, speechItemList);
            }
        }

Same methods

Util::SaveToDisk ( this speechItems ) : void