PPPDDDChap23.EventSourcing.Application.Infrastructure.PayAsYouGoAccountRepository.StreamNameFor C# (CSharp) Метод

StreamNameFor() приватный Метод

private StreamNameFor ( System.Guid id ) : string
id System.Guid
Результат string
        private string StreamNameFor(Guid id)
        {
            // Stream per-aggregate: {AggregateType}-{AggregateId}
            return string.Format("{0}-{1}", typeof(PayAsYouGoAccount).Name, id);
        }
    }