コード例 #1
0
        public static Anime Create(AnimeId oId, AnimeName oName, StudioId oStudioId)
        {
            var oAnime = new Anime(oId, oName, oStudioId);

            //TODO: implement event sourcing here

            return(oAnime);
        }
コード例 #2
0
 public Anime(AnimeId oId, AnimeName oAnimeName, StudioId oStudioId)
 {
     Id       = oId;
     Name     = oAnimeName;
     StudioId = oStudioId;
 }