This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace Akka.Testing | |
| { | |
| public interface IMyMessage { } | |
| public sealed class MessageA : IMyMessage { } | |
| public sealed class MessageB : IMyMessage { } | |
| public class MyActor : Actor<IMyMessage> | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace MyApplication.CustomBootstrapper | |
| { | |
| public abstract class CaliburnAutofacApplication : CaliburnApplication | |
| { | |
| protected IContainer Container; | |
| private readonly ContainerBuilder _builder; | |
| private FrameAdapter _rootFrame; | |
| protected CaliburnAutofacApplication() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Caliburn.Micro; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace ValidationTest | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class EventAggregatorExtensions | |
| { | |
| public static void Subscribe(this IEventAggregator eventAggregator, params IHandle[] handlers) | |
| { | |
| Subscribe(eventAggregator, (IEnumerable<IHandle>)handlers); | |
| } | |
| public static void Subscribe(this IEventAggregator eventAggregator, IEnumerable<IHandle> handlers) | |
| { | |
| foreach(var handler in handlers) |