コード例 #1
0
        public static ConcertSnapshot CreateFrom(Concert concert)
        {
            IProvideSnapshot <ConcertSnapshot> snapshotProvider = concert;
            var concertSnapshot = snapshotProvider.Snapshot();

            return(concertSnapshot);
        }
コード例 #2
0
 private ConcertSnapshot ConcertSnapshot(IProvideSnapshot <ConcertSnapshot> concert)
 {
     return(concert.Snapshot());
 }