public object Clone() { ActionTarget target = new ActionTarget(this); return(target); }
private ActionTarget(ActionTarget target) { this.TargetType = target.TargetType; this.DeviceTarget = target.DeviceTarget == null ? null : target.DeviceTarget.Select(T => (string)T.Clone()).ToList(); this.ParameterTarget = target.ParameterTarget; }