Assembly: Sandbox.Common.dll
public abstract sealed class TerminalPropertyExtensions
Terminal block extension for property access
Methods
| Member |
Description |
| static As(this ITerminalProperty) |
|
| static AsBool(this ITerminalProperty) |
Property type cast |
| static AsColor(this ITerminalProperty) |
Property type cast |
| static AsFloat(this ITerminalProperty) |
Property type cast |
| static Cast(this ITerminalProperty) |
|
| static GetDefaultValue(this IMyTerminalBlock, string) |
|
| static GetMaximum(this IMyTerminalBlock, string) |
|
| static GetMinimum(this IMyTerminalBlock, string) |
|
| static GetValue(this IMyTerminalBlock, string) |
|
| static GetValueBool(this IMyTerminalBlock, string) |
Returns value of specified property |
| static GetValueColor(this IMyTerminalBlock, string) |
Returns value of specified property |
| static GetValueFloat(this IMyTerminalBlock, string) |
Returns value of specified property |
| static Is(this ITerminalProperty) |
|
| static SetValue(this IMyTerminalBlock, string, T) |
|
| static SetValueBool(this IMyTerminalBlock, string, bool) |
Set bool value of property |
| static SetValueColor(this IMyTerminalBlock, string, Color) |
Set bool value of property |
| static SetValueFloat(this IMyTerminalBlock, string, float) |
Set float value of property |
| static GetMininum(this IMyTerminalBlock, string) |
Obsolete: Use GetMinimum instead |