Table of Contents

Struct Command<T>.Executor

Namespace
Executables
Assembly
executables.dll
public readonly struct Command<T>.Executor : IExecutor<T, bool>, IEquatable<Command<T>.Executor>
Implements
Inherited Members

Constructors

Executor(ICommand<T>)

public Executor(ICommand<T> command)

Parameters

command ICommand<T>

Methods

Equals(Executor)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Command<T>.Executor other)

Parameters

other Command<T>.Executor

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Execute(T)

Executes the operation for the specified input value.

public bool Execute(T input)

Parameters

input T

Input value.

Returns

bool

Execution result.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(Executor, Executor)

public static bool operator ==(Command<T>.Executor left, Command<T>.Executor right)

Parameters

left Command<T>.Executor
right Command<T>.Executor

Returns

bool

operator !=(Executor, Executor)

public static bool operator !=(Command<T>.Executor left, Command<T>.Executor right)

Parameters

left Command<T>.Executor
right Command<T>.Executor

Returns

bool