C# Class Vidyano.ViewModel.PersistentObject

Inheritance: ViewModelBase
Afficher le fichier Open project: stevehansen/vidyano_v1 Class Usage Examples

Private Properties

Свойство Type Description
PersistentObject System
ToServiceObject Newtonsoft.Json.Linq.JObject

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
CreateAttributesTab ( PersistentObjectAttribute attributes, string title, PersistentObject parent ) : PersistentObjectTabAttributes
CreateQueryTab ( Query query ) : PersistentObjectTabQuery
GetServiceProperties ( ) : string[]

Private Methods

Méthode Description
PersistentObject ( Newtonsoft.Json.Linq.JObject model ) : System
ToServiceObject ( ) : Newtonsoft.Json.Linq.JObject

Method Details

CancelEdit() public méthode

public CancelEdit ( ) : void
Résultat void

CreateAttributesTab() protected méthode

protected CreateAttributesTab ( PersistentObjectAttribute attributes, string title, PersistentObject parent ) : PersistentObjectTabAttributes
attributes PersistentObjectAttribute
title string
parent PersistentObject
Résultat PersistentObjectTabAttributes

CreateQueryTab() protected méthode

protected CreateQueryTab ( Query query ) : PersistentObjectTabQuery
query Query
Résultat PersistentObjectTabQuery

Edit() public méthode

public Edit ( ) : void
Résultat void

GetAction() public méthode

public GetAction ( string actionName ) : ActionBase
actionName string
Résultat Vidyano.ViewModel.Actions.ActionBase

GetAttribute() public méthode

public GetAttribute ( string attributeName ) : PersistentObjectAttribute
attributeName string
Résultat PersistentObjectAttribute

GetAttributeValue() public méthode

public GetAttributeValue ( string attributeName ) : object
attributeName string
Résultat object

GetQuery() public méthode

public GetQuery ( string queryName ) : Query
queryName string
Résultat Query

GetServiceProperties() protected méthode

protected GetServiceProperties ( ) : string[]
Résultat string[]

RefreshAttributesAsync() public méthode

public RefreshAttributesAsync ( PersistentObjectAttribute attribute = null ) : System.Threading.Tasks.Task
attribute PersistentObjectAttribute
Résultat System.Threading.Tasks.Task

RefreshFromResult() public méthode

public RefreshFromResult ( PersistentObject result ) : System.Threading.Tasks.Task
result PersistentObject
Résultat System.Threading.Tasks.Task

Save() public méthode

public Save ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SetAttributeValue() public méthode

public SetAttributeValue ( string attributeName, object value ) : void
attributeName string
value object
Résultat void

SetNotification() public méthode

public SetNotification ( string notification, NotificationType notificationType = NotificationType.Error ) : void
notification string
notificationType NotificationType
Résultat void

this() public méthode

public this ( string name ) : PersistentObjectAttribute
name string
Résultat PersistentObjectAttribute