Table of Contents

Class Profile

Namespace
Ando.Profiles
Assembly
ando.dll

Represents a build profile that can be activated via CLI flags. Use DefineProfile() in build scripts to create profiles.

public class Profile
Inheritance
Profile
Inherited Members

Properties

IsActive

Returns true if this profile was activated via CLI (e.g., -p release).

public bool IsActive { get; }

Property Value

bool

Name

The name of the profile (e.g., "release", "push").

public string Name { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator bool(Profile)

Implicit conversion to bool for use in if statements.

public static implicit operator bool(Profile profile)

Parameters

profile Profile

Returns

bool