Пример #1
0
 /// <summary>
 /// Gets the report of the current instance, for the given actor.
 /// </summary>
 /// <returns>The human-readable report text.</returns>
 /// <param name="actor">An actor for whom to write the report.</param>
 protected override string GetReport(INamed actor)
 => $"{actor.Name} gets the result of {service.ToString()}";
Пример #2
0
 /// <summary>
 /// Gets the report of the current instance, for the given actor.
 /// </summary>
 /// <returns>The human-readable report text.</returns>
 /// <param name="actor">An actor for whom to write the report.</param>
 protected override string GetReport(INamed actor)
 => $"{actor.Name} executes {service.ToString()}";