Class StringInterpolator
Provides extension methods for PLC's string interpolation.
Inherited Members
Namespace: AXSharp.Connector
Assembly: AXSharp.Connector.dll
Syntax
public static class StringInterpolator
Methods
| Edit this page View SourceInterpolate(string, ITwinElement)
Interpolates original string attached to a twin object.
Declaration
public static string Interpolate(this string original, ITwinElement obj)
Parameters
| Type | Name | Description |
|---|---|---|
| string | original | Original yet non-interpolated string. |
| ITwinElement | obj | ITwinElement object on which original string created. |
Returns
| Type | Description |
|---|---|
| string | Interpolated string. |
Interpolate(string, object)
Interpolates original string attached to a twin object.
Declaration
public static string Interpolate(this string original, object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| string | original | Original yet non-interpolated string. |
| object | obj | Object on which original string created. |
Returns
| Type | Description |
|---|---|
| string | Interpolated string. |