C# 클래스 SnakeBattleNet.Web.Core.SnakeStore

상속: ISnakeStore
파일 보기 프로젝트 열기: FoC-/SnakeBattle.Net

공개 메소드들

메소드 설명
GetAll ( ) : IEnumerable
GetById ( string snakeId ) : Snake
GetByOwnerId ( string ownerId ) : IEnumerable
RemoveSnake ( string snakeId ) : void
SaveSnake ( Snake snake ) : void
SnakeStore ( MongoCollection snakesCollection ) : System.Collections.Generic

메소드 상세

GetAll() 공개 메소드

public GetAll ( ) : IEnumerable
리턴 IEnumerable

GetById() 공개 메소드

public GetById ( string snakeId ) : Snake
snakeId string
리턴 Snake

GetByOwnerId() 공개 메소드

public GetByOwnerId ( string ownerId ) : IEnumerable
ownerId string
리턴 IEnumerable

RemoveSnake() 공개 메소드

public RemoveSnake ( string snakeId ) : void
snakeId string
리턴 void

SaveSnake() 공개 메소드

public SaveSnake ( Snake snake ) : void
snake Snake
리턴 void

SnakeStore() 공개 메소드

public SnakeStore ( MongoCollection snakesCollection ) : System.Collections.Generic
snakesCollection MongoCollection
리턴 System.Collections.Generic