コード例 #1
0
 public Circle Find(CircleId id)
 {
     return(circles.First(it => it.Id.Equals(id)));
 }
コード例 #2
0
        public Circle Create(CircleName name, User owner)
        {
            var id = new CircleId(Guid.NewGuid().ToString());

            return(new Circle(id, name, owner, new List <User>()));
        }