GetFreshId() public method

public GetFreshId ( ) : int
return int
Exemplo n.º 1
0
 static Session FreshSession(FileSystemDatabase fsd)
 {
     var session = new Session ();
     session.Id = fsd.GetFreshId ();
     session.ShovelVmSources = Program ();
     session.ShovelVmBytecode = Shovel.Api.SerializeBytecode (ProgramBytecode ());
     return session;
 }
Exemplo n.º 2
0
        static Session FreshSession(FileSystemDatabase fsd)
        {
            var session = new Session();

            session.Id = fsd.GetFreshId();
            session.ShovelVmSources  = Program();
            session.ShovelVmBytecode = Shovel.Api.SerializeBytecode(ProgramBytecode());
            return(session);
        }