Example #1
0
 /// <summary>
 ///     Card Box Set constructor, intended for creating new instances
 /// </summary>
 /// <param name="id">Id of the card box set</param>
 /// <param name="ownerId"></param>
 /// <param name="name"></param>
 /// <param name="nativeLanguage">Language which user knows</param>
 /// <param name="targetLanguage">Language which user is learning</param>
 public CardBoxSet(Guid id, CardBoxSetOwnerId ownerId, CardBoxSetName name,
                   CardBoxSetLanguage nativeLanguage,
                   CardBoxSetLanguage targetLanguage)
 {
     Id             = id;
     OwnerId        = ownerId;
     Name           = name;
     NativeLanguage = nativeLanguage;
     TargetLanguage = targetLanguage;
 }
Example #2
0
 public void Rename(CardBoxSetName newName)
 {
     Name = newName;
 }