Struct Handler<T1, T2>.Executor
- Namespace
- Executables.Handling
- Assembly
- executables.dll
public readonly struct Handler<T1, T2>.Executor : IExecutor<T1, T2>, IEquatable<Handler<T1, T2>.Executor>
- Implements
-
IExecutor<T1, T2>
- Inherited Members
Constructors
Executor(Handler<T1, T2>)
public Executor(Handler<T1, T2> handler)
Parameters
handlerHandler<T1, T2>
Methods
Equals(Executor)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Handler<T1, T2>.Executor other)
Parameters
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
Execute(T1)
Executes the operation for the specified input value.
public T2 Execute(T1 input)
Parameters
inputT1Input value.
Returns
- T2
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 ==(Handler<T1, T2>.Executor left, Handler<T1, T2>.Executor right)
Parameters
Returns
operator !=(Executor, Executor)
public static bool operator !=(Handler<T1, T2>.Executor left, Handler<T1, T2>.Executor right)