/// <summary> /// Construct the application. /// </summary> public Application( IEventHandlingStrategy eventHandlingStrategy ) { // Event Handling Strategy cannot be null if( null == eventHandlingStrategy ) { throw new ArgumentNullException( "eventHandlingStrategy" ); } ApplicationEventHandler = eventHandlingStrategy; Destroyed = false; }
/// <summary> /// Construct the application. /// </summary> public Application(IEventHandlingStrategy eventHandlingStrategy) { // Event Handling Strategy cannot be null if (null == eventHandlingStrategy) { throw new ArgumentNullException("eventHandlingStrategy"); } ApplicationEventHandler = eventHandlingStrategy; Destroyed = false; }
/// <summary> /// Construct a new DemoApplication instance. /// </summary> public DemoApplication( IEventHandlingStrategy eventHandlingStrategy ) : base(eventHandlingStrategy) { }
/// <summary> /// Construct a new DemoApplication instance. /// </summary> public DemoApplication(IEventHandlingStrategy eventHandlingStrategy) : base(eventHandlingStrategy) { }