This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
Sic06/FrameworkLocal/UIClient/Caliburn.Micro/Core/IHandleWithCoroutine.cs

16 lines
580 B
C#
Raw Normal View History

2023-01-13 10:57:37 +08:00
namespace Caliburn.Micro.Core {
using System.Collections.Generic;
/// <summary>
/// Denotes a class which can handle a particular type of message and uses a Coroutine to do so.
/// </summary>
public interface IHandleWithCoroutine<TMessage> : IHandle { //don't use contravariance here
/// <summary>
/// Handle the message with a Coroutine.
/// </summary>
/// <param name="message">The message.</param>
/// <returns>The coroutine to execute.</returns>
IEnumerable<IResult> Handle(TMessage message);
}
}