Summary
Gets RWX actor information for the current build.
- Namespace
- Cake
.Common .Build .Rwx .Data - Containing Type
- RwxEnvironmentInfo
Syntax
public RwxActorInfo Actor { get; }
Examples
if (BuildSystem.Rwx.IsRunningOnRwx)
{
Information(
@"Actor:
Id: {0}
Name: {1}",
BuildSystem.Rwx.Environment.Actor.Id,
BuildSystem.Rwx.Environment.Actor.Name
);
}
else
{
Information("Not running on RWX");
}
if (Rwx.IsRunningOnRwx)
{
Information(
@"Actor:
Id: {0}
Name: {1}",
Rwx.Environment.Actor.Id,
Rwx.Environment.Actor.Name
);
}
else
{
Information("Not running on RWX");
}
Value
| Type | Description |
|---|---|
| RwxActorInfo | The actor. |
