SWFProcessing.Swiffotron.Test.MockStore.OpenOutput C# (CSharp) Method

OpenOutput() public method

public OpenOutput ( string id ) : Stream
id string
return Stream
        public Stream OpenOutput(string id)
        {
            id = @"store\" + id;

            FileStream fs = new FileStream(id, FileMode.Create);
            this.storedData[id] = fs;
            if (this.commited.Contains(id))
            {
                this.commited.Remove(id);
            }
            return fs;
        }