Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Results.Dataset.AutoCommenter Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.Results.Dataset.AutoCommenter:
OpenTD.Results.Dataset.IAutoComment

Public Member Functions

 AutoCommenter (Func< string > selfSuggestedComment)
 
 AutoCommenter ()
 
override string ToString ()
 

Properties

string Comment [get, set]
 If set directly, overrides all suggested comments. If left unset, will default to the InternalSuggestedComment (if available) or the SelfSuggestedComment (if available).
 
string InternalSuggestedComment [get, set]
 A comment for the containing item suggested by OpenTD.
 
Func< string > SelfSuggestedComment [get, set]
 A comment for the containing item suggested by the item itself.
 

Detailed Description

<exclude >

Constructor & Destructor Documentation

◆ AutoCommenter() [1/2]

OpenTD.Results.Dataset.AutoCommenter.AutoCommenter ( Func< string > selfSuggestedComment)
inline

◆ AutoCommenter() [2/2]

OpenTD.Results.Dataset.AutoCommenter.AutoCommenter ( )
inline

Member Function Documentation

◆ ToString()

override string OpenTD.Results.Dataset.AutoCommenter.ToString ( )
inline

Property Documentation

◆ Comment

string OpenTD.Results.Dataset.AutoCommenter.Comment
getset

If set directly, overrides all suggested comments. If left unset, will default to the InternalSuggestedComment (if available) or the SelfSuggestedComment (if available).

Implements OpenTD.Results.Dataset.IAutoComment.

◆ InternalSuggestedComment

string OpenTD.Results.Dataset.AutoCommenter.InternalSuggestedComment
getset

A comment for the containing item suggested by OpenTD.

Implements OpenTD.Results.Dataset.IAutoComment.

◆ SelfSuggestedComment

Func<string> OpenTD.Results.Dataset.AutoCommenter.SelfSuggestedComment
getset

A comment for the containing item suggested by the item itself.


The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.Results/Dataset/AutoCommenter.cs

Connect with Ansys