C# Class Runt.Service.Messages

Afficher le fichier Open project: Runt-Editor/Runt

Méthodes publiques

Méthode Description
Callback ( int callback, Content content ) : string
Callback ( int callback, JToken value ) : string
State ( EditorState state, JsonSerializer serializer = null ) : string
StateUpdate ( Newtonsoft.Json.Linq.JObject diff ) : string

Private Methods

Méthode Description
Error ( Exception e ) : string
Highlight ( string contentId, Newtonsoft.Json.Linq.JObject highlight ) : string
Message ( string type, string content ) : string

Method Details

Callback() public static méthode

public static Callback ( int callback, Content content ) : string
callback int
content Runt.Core.Model.Content
Résultat string

Callback() public static méthode

public static Callback ( int callback, JToken value ) : string
callback int
value JToken
Résultat string

State() public static méthode

public static State ( EditorState state, JsonSerializer serializer = null ) : string
state Runt.Core.Model.EditorState
serializer Newtonsoft.Json.JsonSerializer
Résultat string

StateUpdate() public static méthode

public static StateUpdate ( Newtonsoft.Json.Linq.JObject diff ) : string
diff Newtonsoft.Json.Linq.JObject
Résultat string