Interface ICodeBlock<T>

Type Parameters:
T - the type of result of the callback method.

public interface ICodeBlock<T>
Helper to allow running certain code in a certain scope (e.g.: synchronization scope, pre- or postrequisites to meet,...).

Author:
Achim Westermann
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes the code this instance stands for and gives back the result.
  • Method Details

    • execute

      T execute()
      Executes the code this instance stands for and gives back the result.

      Returns:
      the result.