RwxEnvironmentInfo.

Actor Property

Summary

Gets RWX actor information for the current build.

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.