also from csproj files excluded direct specification of runtime to make compile happy if on a system we have higher version.
18 lines
406 B
C#
18 lines
406 B
C#
using MediatR;
|
|
using System;
|
|
|
|
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands
|
|
{
|
|
public class IdentifiedCommand<T, R> : IRequest<R>
|
|
where T : IRequest<R>
|
|
{
|
|
public T Command { get; }
|
|
public Guid Id { get; }
|
|
public IdentifiedCommand(T command, Guid id)
|
|
{
|
|
Command = command;
|
|
Id = id;
|
|
}
|
|
}
|
|
}
|