/// <summary> /// Initializes a new instance of the <see cref="DrawResult" /> class /// </summary> /// <param name="item">The item</param> public DrawResult(DrawResultCI item) { Contract.Requires(item != null); Value = item.Value; Names = item.Names as IReadOnlyDictionary <CultureInfo, string>; }
/// <summary> /// Initializes a new instance of the <see cref="DrawResult"/> class /// </summary> /// <param name="item">The item</param> public DrawResult(DrawResultCI item) { Guard.Argument(item, nameof(item)).NotNull(); Value = item.Value; Names = item.Names as IReadOnlyDictionary <CultureInfo, string>; }