public Write ( int key, byte[]>.Dictionary |
||
key | int | |
obj | byte[]>.Dictionary | |
return | void |
public void Save(FileSystemDatabase fsd) { var toSave = new Dictionary <string, byte[]> (); toSave [ShovelVmStateName] = this.ShovelVmState; toSave [ShovelVmBytecodeName] = this.ShovelVmBytecode; toSave [PageContentName] = Encoding.UTF8.GetBytes(this.PageContent.ToString()); toSave [ReadStateName] = BitConverter.GetBytes((int)this.ReadState); toSave [ShovelVmSourcesName] = Encoding.UTF8.GetBytes(this.ShovelVmSources); fsd.Write(this.Id, toSave); }
public void Save (FileSystemDatabase fsd) { var toSave = new Dictionary<string, byte[]> (); toSave [ShovelVmStateName] = this.ShovelVmState; toSave [ShovelVmBytecodeName] = this.ShovelVmBytecode; toSave [PageContentName] = Encoding.UTF8.GetBytes (this.PageContent.ToString ()); toSave [ReadStateName] = BitConverter.GetBytes ((int)this.ReadState); toSave [ShovelVmSourcesName] = Encoding.UTF8.GetBytes (this.ShovelVmSources); fsd.Write (this.Id, toSave); }