• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Goui
    • Color
    • Colors
    • Document
    • EventTarget
    • IGouiPlugin
    • JsonConvert
    • Message
    • Message.PropertyReference
    • MessageType
    • Node
    • Session
    • Style
    • TargetEventArgs
    • TargetEventHandler
    • TextNode
    • UI
    • UI.FileContent
    • UI.StyleSelectors
    • UIConfig
    • Utilities
    • WebAssemblySession
    • WebSocketSession
    • Window
  • Goui.AspNetCore
    • ElementResult
    • WebSocketHandler
  • Goui.AspNetCore.TagHelpers
    • GouiTagHelper
  • Goui.Forms
    • DisplayAlert
    • ElementChangedEventArgs<TElement>
    • EventTracker
    • EventTracker.NativeGestureRecognizer
    • ExportCellAttribute
    • ExportImageSourceHandlerAttribute
    • ExportRendererAttribute
    • GouiTheme
    • IVisualElementRenderer
    • LinkLabel
    • LinkView
    • LocalIsolatedStorageFile
    • Platform
    • PlatformEffect
    • PlatformRenderer
    • RendererPool
    • ResourcesProvider
    • VisualElementChangedEventArgs
    • VisualElementPackager
    • VisualElementRenderer<TElement>
    • VisualElementRendererFlags
    • VisualElementTracker
  • Goui.Forms.Cells
    • CellElement
    • CellRenderer
    • EntryCellElement
    • EntryCellRenderer
    • ImageCellElement
    • ImageCellRenderer
    • SwitchCellElement
    • SwitchCellRenderer
    • TextCellElement
    • TextCellRenderer
    • ViewCellElement
    • ViewCellRenderer
  • Goui.Forms.Extensions
    • ColorExtensions
    • ElementExtensions
    • FontExtensions
    • ListViewExtensions
  • Goui.Forms.Renderers
    • ActivityIndicatorRenderer
    • BoxRenderer
    • ButtonRenderer
    • DatePickerRenderer
    • DefaultRenderer
    • EditorRenderer
    • EntryRenderer
    • FileImageSourceHandler
    • FrameRenderer
    • IImageSourceHandler
    • ImageLoaderSourceHandler
    • ImageRenderer
    • LabelRenderer
    • LinkLabelRenderer
    • LinkViewRenderer
    • ListViewRenderer
    • NavigationPageRenderer
    • PickerRenderer
    • ProgressBarRenderer
    • ScrollViewRenderer
    • SearchBarRenderer
    • SliderRenderer
    • StreamImagesourceHandler
    • SwitchRenderer
    • SwitchRenderer.SwitchElement
    • TimePickerRenderer
    • ViewRenderer
    • ViewRenderer<TElement, TNativeElement>
    • WebViewRenderer
  • Goui.Html
    • Anchor
    • Body
    • Button
    • ButtonType
    • Canvas
    • CanvasRenderingContext2D
    • CompositeOperation
    • Div
    • Element
    • Form
    • FormControl
    • Heading
    • Iframe
    • Image
    • Input
    • InputType
    • Label
    • LineCap
    • LineJoin
    • List
    • ListItem
    • Option
    • Paragraph
    • Select
    • Span
    • TextArea
    • TextInput
  • Microsoft.AspNetCore.Builder
    • GouiMiddlewareExtensions
  • WebAssembly
    • Runtime
  • Xamarin.Forms
    • Forms
    • Forms.ViewInitializedEventArgs
    • PageExtensions

Class Message

Inheritance
System.Object
Message
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Goui
Assembly: Goui.dll
Syntax
public class Message

Fields

| Improve this Doc View Source

Key

Declaration
[JsonProperty("k")]
public string Key
Field Value
Type Description
System.String
| Improve this Doc View Source

MessageType

Declaration
[JsonProperty("m")]
public MessageType MessageType
Field Value
Type Description
MessageType
| Improve this Doc View Source

ResultId

Declaration
[JsonProperty("rid", NullValueHandling = NullValueHandling.Ignore)]
public string ResultId
Field Value
Type Description
System.String
| Improve this Doc View Source

TargetId

Declaration
[JsonProperty("id")]
public string TargetId
Field Value
Type Description
System.String
| Improve this Doc View Source

Value

Declaration
[JsonProperty("v", NullValueHandling = NullValueHandling.Ignore)]
public object Value
Field Value
Type Description
System.Object

Methods

| Improve this Doc View Source

Call(String, String, Object[])

Declaration
public static Message Call(string targetId, string method, params object[] args)
Parameters
Type Name Description
System.String targetId
System.String method
System.Object[] args
Returns
Type Description
Message
| Improve this Doc View Source

Event(String, String, Object)

Declaration
public static Message Event(string targetId, string eventType, object value = null)
Parameters
Type Name Description
System.String targetId
System.String eventType
System.Object value
Returns
Type Description
Message
| Improve this Doc View Source

FromJson(String)

Declaration
public static Message FromJson(string json)
Parameters
Type Name Description
System.String json
Returns
Type Description
Message
| Improve this Doc View Source

Set(String, String, Object)

Declaration
public static Message Set(string targetId, string property, object value)
Parameters
Type Name Description
System.String targetId
System.String property
System.Object value
Returns
Type Description
Message
| Improve this Doc View Source

ToJson()

Declaration
public string ToJson()
Returns
Type Description
System.String
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
| Improve this Doc View Source

WriteJson(TextWriter)

Declaration
public void WriteJson(TextWriter w)
Parameters
Type Name Description
System.IO.TextWriter w
  • Improve this Doc
  • View Source
Back to top Generated by DocFX