PPPDDDChap23.EventSourcing.Application.Infrastructure.PayAsYouGoAccountRepository.StreamNameFor C# (CSharp) Méthode

StreamNameFor() private méthode

private StreamNameFor ( System.Guid id ) : string
id System.Guid
Résultat string
        private string StreamNameFor(Guid id)
        {
            // Stream per-aggregate: {AggregateType}-{AggregateId}
            return string.Format("{0}-{1}", typeof(PayAsYouGoAccount).Name, id);
        }
    }