You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
403 B
16 lines
403 B
using System;
|
|
|
|
namespace Trash.Command.Helpers;
|
|
|
|
public class ActiveServiceCommandProvider : IActiveServiceCommandProvider
|
|
{
|
|
private IServiceCommand? _activeCommand;
|
|
|
|
public IServiceCommand ActiveCommand
|
|
{
|
|
get => _activeCommand ??
|
|
throw new InvalidOperationException("The active command has not yet been determined");
|
|
set => _activeCommand = value;
|
|
}
|
|
}
|