private IEnumerable <Characteristic> GetCharacteristicsToApply( JobMode other) { var result = other.GetCharacteristicsWithValues(); if (GetType() != other.GetType() && !IsPropertyBag) { result = result.Intersect(this.GetAllCharacteristics()); } return(result); }
protected virtual IEnumerable <Characteristic> GetPresentableCharacteristics(JobMode jobMode, bool withDontClone = false) => jobMode .GetCharacteristicsWithValues() .Where(c => c.IsPresentableCharacteristic(withDontClone));
protected virtual IEnumerable <Characteristic> GetPresentableCharacteristics(JobMode jobMode, bool includeIgnoreOnApply = false) => jobMode .GetCharacteristicsWithValues() .Where(c => c.IsPresentableCharacteristic(includeIgnoreOnApply));