Inspirel banner

Programming Distributed Systems with YAMI4

3.4.4 .NET

The Inspirel.YAMI namespace includes the Parameters class, which has the default constructor:

using Inspirel.YAMI;

// ...
{
    Parameters params = new Parameters();
    // ...
}

It is relatively inexpensive to create empty parameters objects, so the recommended practice is to create them in the innermost scope where they are needed.