/// <summary> /// Return <see cref="Fellowship"/> with supplied name, if fellowship doesn't exist it will be created. /// </summary> public static Fellowship GetFellowship(FellowshipObject fellowshipInfo) { if (!fellowships.TryGetValue(fellowshipInfo, out Fellowship fellowship)) { fellowship = new Fellowship(fellowshipInfo); fellowships.Add(fellowshipInfo, fellowship); } return(fellowship); }
public Fellowship(FellowshipObject info) { Info = info; }