Search Results for

    Show / Hide Table of Contents

    Class ProducesAttribute

    This attribute declares which Messages are produced by the Agent.

    Inheritance
    Object
    ProducesAttribute
    Namespace: Agents.Net
    Assembly: Agents.Net.dll
    Syntax
    public sealed class ProducesAttribute : Attribute
    Remarks

    This attribute is only valid for Agent classes. It serves only for documentation purposes.

    Constructors

    | Improve this Doc View Source

    ProducesAttribute(Type)

    Initializes a new instance of the ProducesAttribute class.

    Declaration
    public ProducesAttribute(Type messageType)
    Parameters
    Type Name Description
    Type messageType

    The type the the Message that is produced by the Agent.

    Properties

    | Improve this Doc View Source

    MessageType

    Gets the type of Message that is produced by the Agent.

    Declaration
    public Type MessageType { get; }
    Property Value
    Type Description
    Type
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright Tobias Wilker and contributors