예제 #1
0
        public override bool Works()
        {
            if (AssignedDevice != null)
            {
                return(AssignedDevice.Works());
            }
            else if (AssignedPerson != null)
            {
                return(AssignedPerson.Works());
            }

            return(false);
        }
예제 #2
0
 public override bool Works()
 {
     return(Id.Works() ||
            AssignedPerson.Works());
 }