Example #1
0
 private Tribe(string id, string instructorId, string name, string description, DateTime createdDate, TribeType type, bool isSubscription, TribeSubscriptionDetails subDetails, IEnumerable <Member> members)
 {
     Id                  = id;
     InstructorId        = instructorId;
     Name                = name;
     Description         = description;
     CreatedDate         = createdDate;
     Type                = type;
     IsSubscription      = isSubscription;
     SubscriptionDetails = subDetails;
     Members             = members;
 }
Example #2
0
 public static Tribe Create(string id, string instructorId, string name, string description, DateTime createdDate, TribeType type, bool isSubscription, TribeSubscriptionDetails subDetails, IEnumerable <Member> members)
 => new Tribe(id, instructorId, name, description, createdDate, type, isSubscription, subDetails, members);