Search Results for

    Show / Hide Table of Contents

    Class ProgramGeneratorInfo

    Information for registering a robot program generator.

    Inheritance
    object
    ProgramGeneratorInfo
    Namespace: ABB.Robotics.RobotStudio.Stations.VendorNeutral
    Assembly: ABB.Robotics.RobotStudio.Stations.dll
    Syntax
    public record ProgramGeneratorInfo
    Remarks

    A new IProgramGenerator instance will be created for each operation. FileExtension is used for file dialogs, the actual file name is defined by FileName.

    Constructors

    View Source

    ProgramGeneratorInfo(ProgramGeneratorInfo)

    Declaration
    protected ProgramGeneratorInfo(ProgramGeneratorInfo original)
    Parameters
    Type Name Description
    ProgramGeneratorInfo original
    View Source

    ProgramGeneratorInfo(string, string, string, Func<IProgramGenerator>, Action?)

    Information for registering a robot program generator.

    Declaration
    public ProgramGeneratorInfo(string Name, string Description, string FileExtension, Func<IProgramGenerator> GeneratorFactory, Action? ShowSettings)
    Parameters
    Type Name Description
    string Name

    Display name of the generator.

    string Description

    Description of the generator.

    string FileExtension

    Default file extension of the generated program

    Func<IProgramGenerator> GeneratorFactory

    A method that returns the generator implementation.

    Action ShowSettings

    Optional method for showing a settings UI for the generator. If defined, a command will be available in the Export Program menu.

    Remarks

    A new IProgramGenerator instance will be created for each operation. FileExtension is used for file dialogs, the actual file name is defined by FileName.

    Properties

    View Source

    Description

    Description of the generator.

    Declaration
    public string Description { get; init; }
    Property Value
    Type Description
    string
    View Source

    EqualityContract

    Declaration
    protected virtual Type EqualityContract { get; }
    Property Value
    Type Description
    Type
    View Source

    FileExtension

    Default file extension of the generated program

    Declaration
    public string FileExtension { get; init; }
    Property Value
    Type Description
    string
    View Source

    GeneratorFactory

    A method that returns the generator implementation.

    Declaration
    public Func<IProgramGenerator> GeneratorFactory { get; init; }
    Property Value
    Type Description
    Func<IProgramGenerator>
    View Source

    Name

    Display name of the generator.

    Declaration
    public string Name { get; init; }
    Property Value
    Type Description
    string
    View Source

    ShowSettings

    Optional method for showing a settings UI for the generator. If defined, a command will be available in the Export Program menu.

    Declaration
    public Action? ShowSettings { get; init; }
    Property Value
    Type Description
    Action

    Methods

    View Source

    Deconstruct(out string, out string, out string, out Func<IProgramGenerator>, out Action?)

    Declaration
    public void Deconstruct(out string Name, out string Description, out string FileExtension, out Func<IProgramGenerator> GeneratorFactory, out Action? ShowSettings)
    Parameters
    Type Name Description
    string Name
    string Description
    string FileExtension
    Func<IProgramGenerator> GeneratorFactory
    Action ShowSettings
    View Source

    Equals(ProgramGeneratorInfo?)

    Declaration
    public virtual bool Equals(ProgramGeneratorInfo? other)
    Parameters
    Type Name Description
    ProgramGeneratorInfo other
    Returns
    Type Description
    bool
    View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    View Source

    PrintMembers(StringBuilder)

    Declaration
    protected virtual bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    View Source

    operator ==(ProgramGeneratorInfo?, ProgramGeneratorInfo?)

    Declaration
    public static bool operator ==(ProgramGeneratorInfo? left, ProgramGeneratorInfo? right)
    Parameters
    Type Name Description
    ProgramGeneratorInfo left
    ProgramGeneratorInfo right
    Returns
    Type Description
    bool
    View Source

    operator !=(ProgramGeneratorInfo?, ProgramGeneratorInfo?)

    Declaration
    public static bool operator !=(ProgramGeneratorInfo? left, ProgramGeneratorInfo? right)
    Parameters
    Type Name Description
    ProgramGeneratorInfo left
    ProgramGeneratorInfo right
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics