PPPDDDChap23.EventSourcing.Application.Infrastructure.PayAsYouGoAccountRepository.StreamNameFor C# (CSharp) Method

StreamNameFor() private method

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