public static Command GetCliCommand(this IServiceScope scope) => scope.GetService <Command>(CliCommandId);
public static WorkspaceCollection GetWorkspaces(this IServiceScope scope) => scope.GetService <WorkspaceCollection>();
public static Manager GetManager(this IServiceScope scope) => scope.GetService <Manager>();
public static CommandCollection GetCommands(this IServiceScope scope) => scope.GetService <CommandCollection>();
public static ExtensionCollection GetExtensions(this IServiceScope scope) => scope.GetService <ExtensionCollection>();
public static IRequestBus RequestBus(this IServiceScope source) => source.GetService <IRequestBus>();
public static IEnumerable <T> GetServices <T>(this IServiceScope serviceScope) => serviceScope.GetService <IEnumerable <T> >();
public static T GetService <T>(this IServiceScope serviceScope) => (T)serviceScope.GetService(typeof(T));