/// <summary> /// Initializes a new instance of the <see cref="IManager"/> class /// </summary> /// <param name="item">The item</param> public Manager(ManagerCI item) : base(item.Id, item.Name as IReadOnlyDictionary <CultureInfo, string>) { Guard.Argument(item, nameof(item)).NotNull(); Nationalities = item.Nationality as IReadOnlyDictionary <CultureInfo, string>; CountryCode = item.CountryCode; }
/// <summary> /// Initializes a new instance of the <see cref="IManager" /> class /// </summary> /// <param name="item">The item</param> public Manager(ManagerCI item) : base(item.Id, item.Name as IReadOnlyDictionary <CultureInfo, string>) { Contract.Requires(item != null); Nationalities = item.Nationality as IReadOnlyDictionary <CultureInfo, string>; CountryCode = item.CountryCode; }