public DemandAttributes(Demand demand, Attribute attribute, object value) { if (demand.IsNull()) { throw new ArgumentNullException(nameof(demand)); } if (attribute.IsNull()) { throw new ArgumentNullException(nameof(attribute)); } if (value.IsNull()) { throw new ArgumentNullException(nameof(value)); } Demand = demand; Attribute = attribute; SetValue(value); }
public DemandAttributes(Demand demand, Attribute attribute) { Demand = demand; Attribute = attribute; }
public GroupDemands(Group group, Demand demand, bool isLeader) { Group = group; Demand = demand; IsLeader = isLeader; }