A condition context that is used to enable or disable plugins, components and services based on characteristics of the runtime environment.

Namespace:  Gallio.Runtime
Assembly:  Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.570.0)

Syntax

C#
public class RuntimeConditionContext : ConditionContext
Visual Basic (Declaration)
Public Class RuntimeConditionContext _
	Inherits ConditionContext

Remarks

This condition context recognizes the following property tokens:
  • "${env:ENVIRONMENTVARIABLE}": Satisfied when the environment contains a variable called "ENVIRONMENTVARIABLE".
  • "${minFramework:NET20}", "${minFramework:NET30}", "${minFramework:NET35}", "${minFramework:NET40}": Satisfied when the currently running .Net runtime version is at least the specified version.
  • "${process:PROC.EXE}", "${process:PROC.EXE_V1}", "${process:PROC.EXE_V1.2}", "${process:PROC.EXE_V1.2.3}", "${process:PROC.EXE_V1.2.3.4}": Satisfied when the currently running process main module is "PROC.EXE" and exactly matches the specified file version components (if any).

Inheritance Hierarchy

System..::.Object
  Gallio.Common..::.ConditionContext
    Gallio.Runtime..::.RuntimeConditionContext

See Also