Пример #1
0
        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);
        }
Пример #2
0
 public DemandAttributes(Demand demand, Attribute attribute)
 {
     Demand    = demand;
     Attribute = attribute;
 }
Пример #3
0
 public GroupDemands(Group group, Demand demand, bool isLeader)
 {
     Group    = group;
     Demand   = demand;
     IsLeader = isLeader;
 }