C# 클래스 Vidyano.Service

상속: NotifyableBase
파일 보기 프로젝트 열기: stevehansen/vidyano_v1

Private Properties

프로퍼티 타입 설명
CancelPendingServiceCalls void
CreateData Newtonsoft.Json.Linq.JObject
GetDefaultValue object
PostAsync Task
SignInAsync Task
UpdateSession System.Threading.Tasks.Task

공개 메소드들

메소드 설명
ExecuteActionAsync ( string action, PersistentObject parent = null, Query query = null, QueryResultItem selectedItems = null, string>.Dictionary parameters = null, bool skipHooks = false ) : Task
ExecuteQueryAsync ( Query query, PersistentObject parent = null, string filterName = null, bool asLookup = false ) : Task
FromServiceString ( string value, string typeName ) : object
GetClientData ( ) : Task
GetClrType ( string type ) : Type
GetNoInternetMessage ( string language = null ) : NoInternetMessage
GetPersistentObjectAsync ( string id, string objectId = null ) : Task
GetQueryAsync ( string id, string filterName = null ) : Task
GetStreamAsync ( PersistentObject registeredStream ) : string>>.Task
Service ( ) : System
SignInUsingAccessTokenAsync ( string accessToken, string serviceProvider = "Microsoft" ) : Task
SignInUsingAuthTokenAsync ( string user, string token ) : Task
SignInUsingCredentialsAsync ( string user, string password ) : Task
SignOut ( ) : System.Threading.Tasks.Task
ToServiceString ( object value ) : string

비공개 메소드들

메소드 설명
CancelPendingServiceCalls ( ) : void
CreateData ( string user = null, string authToken = null ) : Newtonsoft.Json.Linq.JObject
GetDefaultValue ( Type type, string dataType = null ) : object
PostAsync ( string method, Newtonsoft.Json.Linq.JObject data ) : Task
SignInAsync ( string user, string password, string token = null, string accessToken = null, string serviceProvider = null ) : Task
UpdateSession ( Newtonsoft.Json.Linq.JObject response ) : System.Threading.Tasks.Task

메소드 상세

ExecuteActionAsync() 공개 메소드

public ExecuteActionAsync ( string action, PersistentObject parent = null, Query query = null, QueryResultItem selectedItems = null, string>.Dictionary parameters = null, bool skipHooks = false ) : Task
action string
parent Vidyano.ViewModel.PersistentObject
query Query
selectedItems Vidyano.ViewModel.QueryResultItem
parameters string>.Dictionary
skipHooks bool
리턴 Task

ExecuteQueryAsync() 공개 메소드

public ExecuteQueryAsync ( Query query, PersistentObject parent = null, string filterName = null, bool asLookup = false ) : Task
query Query
parent Vidyano.ViewModel.PersistentObject
filterName string
asLookup bool
리턴 Task

FromServiceString() 공개 정적인 메소드

public static FromServiceString ( string value, string typeName ) : object
value string
typeName string
리턴 object

GetClientData() 공개 메소드

public GetClientData ( ) : Task
리턴 Task

GetClrType() 공개 정적인 메소드

public static GetClrType ( string type ) : Type
type string
리턴 System.Type

GetNoInternetMessage() 공개 정적인 메소드

public static GetNoInternetMessage ( string language = null ) : NoInternetMessage
language string
리턴 NoInternetMessage

GetPersistentObjectAsync() 공개 메소드

public GetPersistentObjectAsync ( string id, string objectId = null ) : Task
id string
objectId string
리턴 Task

GetQueryAsync() 공개 메소드

public GetQueryAsync ( string id, string filterName = null ) : Task
id string
filterName string
리턴 Task

GetStreamAsync() 공개 메소드

public GetStreamAsync ( PersistentObject registeredStream ) : string>>.Task
registeredStream Vidyano.ViewModel.PersistentObject
리턴 string>>.Task

Service() 공개 메소드

public Service ( ) : System
리턴 System

SignInUsingAccessTokenAsync() 공개 메소드

public SignInUsingAccessTokenAsync ( string accessToken, string serviceProvider = "Microsoft" ) : Task
accessToken string
serviceProvider string
리턴 Task

SignInUsingAuthTokenAsync() 공개 메소드

public SignInUsingAuthTokenAsync ( string user, string token ) : Task
user string
token string
리턴 Task

SignInUsingCredentialsAsync() 공개 메소드

public SignInUsingCredentialsAsync ( string user, string password ) : Task
user string
password string
리턴 Task

SignOut() 공개 메소드

public SignOut ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ToServiceString() 공개 정적인 메소드

public static ToServiceString ( object value ) : string
value object
리턴 string