C# 클래스 Vidyano.ViewModel.PersistentObject

상속: ViewModelBase
파일 보기 프로젝트 열기: stevehansen/vidyano_v1 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PersistentObject System
ToServiceObject Newtonsoft.Json.Linq.JObject

공개 메소드들

메소드 설명
CancelEdit ( ) : void
Edit ( ) : void
GetAction ( string actionName ) : ActionBase
GetAttribute ( string attributeName ) : PersistentObjectAttribute
GetAttributeValue ( string attributeName ) : object
GetQuery ( string queryName ) : Query
RefreshAttributesAsync ( PersistentObjectAttribute attribute = null ) : System.Threading.Tasks.Task
RefreshFromResult ( PersistentObject result ) : System.Threading.Tasks.Task
Save ( ) : System.Threading.Tasks.Task
SetAttributeValue ( string attributeName, object value ) : void
SetNotification ( string notification, NotificationType notificationType = NotificationType.Error ) : void
this ( string name ) : PersistentObjectAttribute

보호된 메소드들

메소드 설명
CreateAttributesTab ( PersistentObjectAttribute attributes, string title, PersistentObject parent ) : PersistentObjectTabAttributes
CreateQueryTab ( Query query ) : PersistentObjectTabQuery
GetServiceProperties ( ) : string[]

비공개 메소드들

메소드 설명
PersistentObject ( Newtonsoft.Json.Linq.JObject model ) : System
ToServiceObject ( ) : Newtonsoft.Json.Linq.JObject

메소드 상세

CancelEdit() 공개 메소드

public CancelEdit ( ) : void
리턴 void

CreateAttributesTab() 보호된 메소드

protected CreateAttributesTab ( PersistentObjectAttribute attributes, string title, PersistentObject parent ) : PersistentObjectTabAttributes
attributes PersistentObjectAttribute
title string
parent PersistentObject
리턴 PersistentObjectTabAttributes

CreateQueryTab() 보호된 메소드

protected CreateQueryTab ( Query query ) : PersistentObjectTabQuery
query Query
리턴 PersistentObjectTabQuery

Edit() 공개 메소드

public Edit ( ) : void
리턴 void

GetAction() 공개 메소드

public GetAction ( string actionName ) : ActionBase
actionName string
리턴 Vidyano.ViewModel.Actions.ActionBase

GetAttribute() 공개 메소드

public GetAttribute ( string attributeName ) : PersistentObjectAttribute
attributeName string
리턴 PersistentObjectAttribute

GetAttributeValue() 공개 메소드

public GetAttributeValue ( string attributeName ) : object
attributeName string
리턴 object

GetQuery() 공개 메소드

public GetQuery ( string queryName ) : Query
queryName string
리턴 Query

GetServiceProperties() 보호된 메소드

protected GetServiceProperties ( ) : string[]
리턴 string[]

RefreshAttributesAsync() 공개 메소드

public RefreshAttributesAsync ( PersistentObjectAttribute attribute = null ) : System.Threading.Tasks.Task
attribute PersistentObjectAttribute
리턴 System.Threading.Tasks.Task

RefreshFromResult() 공개 메소드

public RefreshFromResult ( PersistentObject result ) : System.Threading.Tasks.Task
result PersistentObject
리턴 System.Threading.Tasks.Task

Save() 공개 메소드

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

SetAttributeValue() 공개 메소드

public SetAttributeValue ( string attributeName, object value ) : void
attributeName string
value object
리턴 void

SetNotification() 공개 메소드

public SetNotification ( string notification, NotificationType notificationType = NotificationType.Error ) : void
notification string
notificationType NotificationType
리턴 void

this() 공개 메소드

public this ( string name ) : PersistentObjectAttribute
name string
리턴 PersistentObjectAttribute