Search Results for

    Show / Hide Table of Contents

    Class AgentLog

    This class is used to log an agent interaction in JSON format.

    Inheritance
    Object
    AgentLog
    Namespace: Agents.Net
    Assembly: Agents.Net.dll
    Syntax
    public class AgentLog : object
    Remarks

    It can be used for analysing tests or the log.

    Constructors

    | Improve this Doc View Source

    AgentLog(String, String, Guid, MessageLog)

    Initialized a new instance of the class AgentLog.

    Declaration
    public AgentLog(string agent, string type, Guid agentId, MessageLog message)
    Parameters
    Type Name Description
    String agent

    Name of the agent.

    String type

    The type of the interaction.

    Guid agentId

    The agent id.

    MessageLog message

    The message formatted as a MessageLog

    Properties

    | Improve this Doc View Source

    Agent

    Get the name of the agent.

    Declaration
    public string Agent { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    AgentId

    Get the id of the agent.

    Declaration
    public Guid AgentId { get; }
    Property Value
    Type Description
    Guid
    Remarks

    Only relevant to find out if there are more than one instance of a specific agent.

    | Improve this Doc View Source

    Message

    Get the message, formatted as MessageLog.

    Declaration
    public MessageLog Message { get; }
    Property Value
    Type Description
    MessageLog
    | Improve this Doc View Source

    Type

    Get the type o the interaction

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    String
    Remarks

    Currently these are "Executing", "Executed", "Intercepting" and "Publishing"

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright Tobias Wilker and contributors