GetFreshId() 공개 메소드

public GetFreshId ( ) : int
리턴 int
예제 #1
0
파일: Main.cs 프로젝트: ichaos/Shovel
 static Session FreshSession(FileSystemDatabase fsd)
 {
     var session = new Session ();
     session.Id = fsd.GetFreshId ();
     session.ShovelVmSources = Program ();
     session.ShovelVmBytecode = Shovel.Api.SerializeBytecode (ProgramBytecode ());
     return session;
 }
예제 #2
0
파일: Main.cs 프로젝트: richardy2012/Shovel
        static Session FreshSession(FileSystemDatabase fsd)
        {
            var session = new Session();

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