示例#1
0
        public object Clone()
        {
            ActionTarget target = new ActionTarget(this);

            return(target);
        }
示例#2
0
 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;
 }