/// <summary> /// Initializes a new instance of the <see cref="T:Crystal.ConsiderationBase`1"/> class. /// </summary> /// <param name="other">The other.</param> protected ConsiderationBase(ConsiderationBase <TContext> other) { _collection = other._collection; NameId = other.NameId; DefaultUtility = other.DefaultUtility; Utility = other.Utility; Weight = other.Weight; }
/// <summary> /// Initializes a new instance of the <see cref="T:Crystal.ConsiderationBase"/> class. /// </summary> /// <param name="other">The other.</param> protected ConsiderationBase(ConsiderationBase other) { _collection = other._collection; NameId = other.NameId; DefaultUtility = other.DefaultUtility; Utility = other.Utility; Weight = other.Weight; Parameters = other.Parameters?.Clone(); }