CakeTaskCriteria Class

Summary

Represents Cake task criteria.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["CakeTaskCriteria"] class Type type-node

Syntax

public sealed class CakeTaskCriteria

Constructors

Name Summary
CakeTaskCriteria(Func<ICakeContext, bool>, string) Initializes a new instance of the CakeTaskCriteria class.

Properties

Name Value Summary
CausedSkippingOfTask bool
Gets or sets a value indicating whether this criteria caused the task to be skipped.
Message string
Gets the criteria message.
Predicate Func<ICakeContext, bool>
Gets the criteria predicate.

Extension Methods

Name Value Summary
Dump<CakeTaskCriteria>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeTaskCriteria>(CakeTaskCriteria[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeTaskCriteria>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CakeTaskCriteria>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<CakeTaskCriteria>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<CakeTaskCriteria>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin