15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
|
|
[source,csharp]
|
|
----
|
|
void MyMethod(List<MyObject> items)
|
|
{
|
|
logger.Debug("The operation started");
|
|
foreach(var item in items)
|
|
{
|
|
logger.Debug($"Evaluating {item.Name}");
|
|
var result = Evaluate(item);
|
|
logger.Debug($"Evaluating resulted in {result}");
|
|
}
|
|
logger.Debug("The operation ended");
|
|
}
|
|
---- |