C# 클래스 SfSdk.Session

A host of actions, which can be performed as you log the session in with valid user credentials.
상속: ISession
파일 보기 프로젝트 열기: ebeeb/SfSdk

Private Properties

프로퍼티 타입 설명
HasErrors bool
Session System
Session System

공개 메소드들

메소드 설명
HallOfFameAsync ( string searchString = null, bool forceLoad = false ) : Task>

Represents the Hall Of Fame Screen Action.

LoginAsync ( string username, string md5PasswordHash, Uri serverUri ) : Task

Logs the current session in.

LogoutAsync ( ) : Task

Logs the current session out.

MyCharacterAsync ( ) : Task

Represents the Character Screen Action.

RequestCharacterAsync ( string username ) : Task

Requests a Character via a given predicate.

ScrapbookAsync ( ) : Task>

Represents the Album Action.

비공개 메소드들

메소드 설명
HasErrors ( IReadOnlyCollection errors ) : bool
Session ( ) : System

Creates a new instance of type Session querying the default SnFRequestSource.

Session ( IRequestSource>.Func sourceFactory ) : System

Creates a new instance of type Session.

메소드 상세

HallOfFameAsync() 공개 메소드

Represents the Hall Of Fame Screen Action.
When session is not logged in.
public HallOfFameAsync ( string searchString = null, bool forceLoad = false ) : Task>
searchString string Search strings may contain the rank or the name of a character to be searched.
forceLoad bool Indicates whether the details of the characters shall be loaded.
리턴 Task>

LoginAsync() 공개 메소드

Logs the current session in.
When username or password hash have invalid formats. When serverUri is null.
public LoginAsync ( string username, string md5PasswordHash, Uri serverUri ) : Task
username string The username.
md5PasswordHash string The MD5 hash of the password.
serverUri System.Uri The of the server to be logged on.
리턴 Task

LogoutAsync() 공개 메소드

Logs the current session out.
When session is not logged in.
public LogoutAsync ( ) : Task
리턴 Task

MyCharacterAsync() 공개 메소드

Represents the Character Screen Action.
When session is not logged in.
public MyCharacterAsync ( ) : Task
리턴 Task

RequestCharacterAsync() 공개 메소드

Requests a Character via a given predicate.
When session is not logged in.
public RequestCharacterAsync ( string username ) : Task
username string The username to search.
리턴 Task

ScrapbookAsync() 공개 메소드

Represents the Album Action.
When session is not logged in.
public ScrapbookAsync ( ) : Task>
리턴 Task>