SWFProcessing.Swiffotron.Test.MockStore.Commit C# (CSharp) Méthode

Commit() public méthode

public Commit ( string id ) : void
id string
Résultat void
        public void Commit(string id)
        {
            id = @"store\" + id;

            /* Assume it exists. Null refs will end up failing a unit test,
             * which is what we want to happen. */
            FileStream fs = this.storedData[id];
            fs.Close();
            this.commited.Add(id);
        }