private static Dynamic.TargetGroupCondition MapTargetGroupCondition(Tcm.TargetGroupCondition targetGroupCondition, BuildManager buildManager) { var newCondition = new Dynamic.TargetGroupCondition() { TargetGroup = BuildTargetGroup(targetGroupCondition.TargetGroup, buildManager), Negate = targetGroupCondition.Negate }; return(newCondition); }
private TargetGroupCondition MapTargetGroupCondition(AM.TargetGroupCondition targetGroupCondition) => new TargetGroupCondition() { TargetGroup = MapTargetGroup(targetGroupCondition.TargetGroup), Negate = targetGroupCondition.Negate };