C# 클래스 Electro.StatePersister

파일 보기 프로젝트 열기: HackerDom/ructfe-2015 1 사용 예제들

공개 메소드들

메소드 설명
LoadElections ( ) : IEnumerable
LoadKeys ( ) : PrivateKey>>.IEnumerable
LoadUsers ( ) : IEnumerable
SaveAllElections ( IEnumerable elections ) : void
SaveKey ( System.Guid electionId, PrivateKey privateKey ) : void
SaveUser ( User user ) : void
StatePersister ( ) : System

메소드 상세

LoadElections() 공개 정적인 메소드

public static LoadElections ( ) : IEnumerable
리턴 IEnumerable

LoadKeys() 공개 정적인 메소드

public static LoadKeys ( ) : PrivateKey>>.IEnumerable
리턴 PrivateKey>>.IEnumerable

LoadUsers() 공개 정적인 메소드

public static LoadUsers ( ) : IEnumerable
리턴 IEnumerable

SaveAllElections() 공개 정적인 메소드

public static SaveAllElections ( IEnumerable elections ) : void
elections IEnumerable
리턴 void

SaveKey() 공개 메소드

public SaveKey ( System.Guid electionId, PrivateKey privateKey ) : void
electionId System.Guid
privateKey Electro.Crypto.PrivateKey
리턴 void

SaveUser() 공개 메소드

public SaveUser ( User user ) : void
user Electro.Model.User
리턴 void

StatePersister() 공개 메소드

public StatePersister ( ) : System
리턴 System