C# Класс Mycroft.Cmd.Msg.Query

Наследование: MsgCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
HasValidGuid bool
ShouldArchive bool
query Mycroft.Messages.Msg.MsgQuery

Открытые методы

Метод Описание
Parse ( string data, AppInstance instance ) : Command

Get the Query object associated with this MSG_QUERY

Query ( MsgQuery query, AppInstance instance ) : System
VisitDispatcher ( Dispatcher dispatcher ) : void

If we should archive this message then add a new command to the dispatcher which does so.

VisitMessageArchive ( MessageArchive messageArchive ) : void

Check if this guid is already in the message archive If the GUID given already exists in the archive the app instance is notified and HasValidGuid is set to false

Описание методов

Parse() публичный статический Метод

Get the Query object associated with this MSG_QUERY
public static Parse ( string data, AppInstance instance ) : Command
data string the JSON data without a verb
instance AppInstance the app instance that issued this query
Результат Command

Query() публичный Метод

public Query ( MsgQuery query, AppInstance instance ) : System
query Mycroft.Messages.Msg.MsgQuery
instance AppInstance
Результат System

VisitDispatcher() публичный Метод

If we should archive this message then add a new command to the dispatcher which does so.
public VisitDispatcher ( Dispatcher dispatcher ) : void
dispatcher Dispatcher
Результат void

VisitMessageArchive() публичный Метод

Check if this guid is already in the message archive If the GUID given already exists in the archive the app instance is notified and HasValidGuid is set to false
public VisitMessageArchive ( MessageArchive messageArchive ) : void
messageArchive MessageArchive The archive to visit
Результат void

Описание свойств

HasValidGuid защищенное свойство

protected bool HasValidGuid
Результат bool

ShouldArchive защищенное свойство

protected bool ShouldArchive
Результат bool

query защищенное свойство

protected MsgQuery,Mycroft.Messages.Msg query
Результат Mycroft.Messages.Msg.MsgQuery